sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    2D trees Shadow problem

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    9 Posts 8 Posters 5.6k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tangomiami
      last edited by

      Capture.JPGHi!

      I am trying to render billboard trees with transparency mapping applied. The tree renders fine but the shadow renders the tree plane. How can I make the correct shadow render? What am I missing?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • andybotA Offline
        andybot
        last edited by

        @tangomiami said:

        [attachment=0:11yxkwad]<!-- ia0 -->Capture.JPG<!-- ia0 -->[/attachment:11yxkwad]Hi!

        I am trying to render billboard trees with transparency mapping applied. The tree renders fine but the shadow renders the tree plane. How can I make the correct shadow render? What am I missing?

        Thanks!

        Odd. Can you share your scene? One thought is that maybe the alpha of the billboard image is not pure b&w. Are you using the check box for the transparency?

        Andy

        http://charlottesvillearchitecturalrendering.com/

        1 Reply Last reply Reply Quote 0
        • JpacJ Offline
          Jpac
          last edited by

          Try one of these trees from the 3D Warehouse.
          http://goo.gl/RKm5f
          These have had the 2D tree "cut out" from the the image surface so they give a decent shadow. Try it and report back if the problem remains.

          http://sketchup4sitedesign.wordpress.com/

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            The 2d tree you show is an Image PNG with a transparent background, or at least a rectangular face with the PNG applied onto it.
            That Image/Rectangle will cast a simple shadow.
            To cast a proper cutout shadow you need to cutout the shape.
            If it's an Image then explode it into a Face and then overdraw with the freehand tool etc and erase the unwanted parts. The cutout need not be perfect as a few transparent areas left over won't show in the tree and will go unnoticed in the shadow.
            Alternatively, edit a saved copy of the Image and ensure that only the background pixels of the image have transparency set [flatten, re-add an alpha layer and select/erase the background]; then read the Image flat in an empty model, use ImageTrimmer to make the cutout automatically etc and you then have a cutout face/faces with the texture applied... so you get proper shadows etc...

            TIG

            1 Reply Last reply Reply Quote 0
            • massimoM Offline
              massimo Moderator
              last edited by

              I know nothing about V-ray, but some rendering programs can render correctly the shadow starting from a PNG with transparency (image or texture) without any extra work. Here is Twilight for example.
              Cattura.JPG

              1 Reply Last reply Reply Quote 0
              • B Offline
                bocomofo
                last edited by

                have you checked the use 'colour texture as transparency' in the diffuse rollout.


                png.jpg

                1 Reply Last reply Reply Quote 0
                • panixiaP Offline
                  panixia
                  last edited by

                  @bocomofo said:

                  have you checked the use 'colour texture as transparency' in the diffuse rollout.

                  he did it for sure, elsewhere transparency would have not worked in the diffuse πŸ‘
                  I would rather check if the material was properly applied to the backface, cause that can lead some problem. i suggest check if the material is applied on the front face (turn on monocrhome mode and check) and then use "frontface material to backface" from thomthom's UV Toolkit

                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    valerostudio
                    last edited by

                    Make sure the faceme component isnt showing you its backface also. I had this issue and that resolved it.

                    1 Reply Last reply Reply Quote 0
                    • andybotA Offline
                      andybot
                      last edited by

                      @panixia said:

                      @bocomofo said:

                      have you checked the use 'colour texture as transparency' in the diffuse rollout.

                      he did it for sure, elsewhere transparency would have not worked in the diffuse πŸ‘
                      I would rather check if the material was properly applied to the backface, cause that can lead some problem. i suggest check if the material is applied on the front face (turn on monocrhome mode and check) and then use "frontface material to backface" from thomthom's UV Toolkit

                      πŸ‘ That sounds like the right answer.
                      I did some quick tests - and if you have a different material on the backface, the shadow will be a half-tone of the transparency of the front and the opacity of the back.

                      http://charlottesvillearchitecturalrendering.com/

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Buy SketchPlus
                      Buy SUbD
                      Buy WrapR
                      Buy eBook
                      Buy Modelur
                      Buy Vertex Tools
                      Buy SketchCuisine
                      Buy FormFonts

                      Advertisement