sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Tree problem

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    12 Posts 5 Posters 2.8k Views 5 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.
    • GaieusG Offline
      Gaieus
      last edited by

      Can you post a link? The first white areas may be shadow caster dummy components. For Vray to render these trees well, you will probably add a clipmap (it can be easily generated from an image file that has transparent areas).

      Gai...

      1 Reply Last reply Reply Quote 0
      • A Offline
        andre51
        last edited by

        Hi Jim

        Will this work? It works for me in Maxwell. Shadows in render ok...
        PineTree1.skp

        Andre

        1 Reply Last reply Reply Quote 0
        • J Offline
          jim_tim
          last edited by

          Ok so I upgraded to sketchup 8 (from 7) because I couldn't open Andre's file. This seemed to cure the white bits inbetween the branches whilst in the model. However, Even the tree model Andre sent me is rendering the white around the branches..... see below:

          http://i777.photobucket.com/albums/yy60/jim_tim/treesno.jpg

          What would you guys suggest I do to get around this problem. I'd really like to use Andre's tree or the first trees I was using in my Vray renders but I'm not sure how to lose the white bits.

          1 Reply Last reply Reply Quote 0
          • Alan FraserA Offline
            Alan Fraser
            last edited by

            The images (and shadow casters) in that tree are png files...and V-ray doesn't like png files. I believe that the very latest version can deal with png transparency, but any earlier version is going to produce exactly what you are seeing...with the transparent sections rendering as opaque white. You'll either need to upgrade, use the original png images to produce separate diffuse and transparency maps...or use something like Twilight.

            3D Figures
            Were you required to walk 500 miles? Were you advised to walk 500 more?
            You could be entitled to compensation. Call the Pro Claimers now!

            1 Reply Last reply Reply Quote 0
            • GaieusG Offline
              Gaieus
              last edited by

              @jim_tim said:

              Ok so I upgraded to sketchup 8 (from 7) because I couldn't open Andre's file. This seemed to cure the white bits inbetween the branches whilst in the model.

              That could have simple been caused by transparency settings under Styles in SU 7 (and a fresh, new install of SU 8 may have a different style applied - although if it's the same model, who knows)

              @jim_tim said:

              However, Even the tree model Andre sent me is rendering the white around the branches...

              @alan fraser said:

              The images (and shadow casters) in that tree are png files...and V-ray doesn't like png files. I believe that the very latest version can deal with png transparency, but any earlier version is going to produce exactly what you are seeing...with the transparent sections rendering as opaque white.

              @gaieus said:

              For Vray to render these trees well, you will probably add a clipmap (it can be easily generated from an image file that has transparent areas).

              Are you reading those suggestions?

              Gai...

              1 Reply Last reply Reply Quote 0
              • J Offline
                jim_tim
                last edited by

                I'd quite like to try this......."use the original png images to produce separate diffuse and transparency maps". Can anyone point me in the direction of a tutorial on how to do this or is it pretty straight forward?

                Thanks everyone for their suggestions and advice so far πŸ˜„

                1 Reply Last reply Reply Quote 0
                • Alan FraserA Offline
                  Alan Fraser
                  last edited by

                  You'll need something like Photoshop, PSP, Photopaint or Gimp to get diffuse and transparency maps.
                  For the diffuse, I'd suggest opening the original png, placing another layer behind it and flood-filling that in a similar green. Then flatten the image and save as a jpg.

                  For the transparency map, you'll need to again open the png, the magic-wand select the transparent areas, then use that selection mask to produce an image that is pure white where you want opacity and pure black where you want transparency.

                  In other words, you'll get an mage of the branches as a white silhouette on a black background.
                  You may need to invert this in V-Ray. There is an invert check box on the clip map dialog.

                  3D Figures
                  Were you required to walk 500 miles? Were you advised to walk 500 more?
                  You could be entitled to compensation. Call the Pro Claimers now!

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

                    in vray - there's an option in the material editor on the diffuse layer to "use color texture as transparency". Check that box and you should be good to go. Don't need to worry about alpha maps...

                    http://charlottesvillearchitecturalrendering.com/

                    1 Reply Last reply Reply Quote 0
                    • Alan FraserA Offline
                      Alan Fraser
                      last edited by

                      I think that's only in the latest version, Andy. No such box on earlier ones.

                      3D Figures
                      Were you required to walk 500 miles? Were you advised to walk 500 more?
                      You could be entitled to compensation. Call the Pro Claimers now!

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

                        @alan fraser said:

                        I think that's only in the latest version, Andy. No such box on earlier ones.

                        That's true. What version are you on jim_tim?

                        http://charlottesvillearchitecturalrendering.com/

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jim_tim
                          last edited by

                          Guys, I'm sorry I should've mentioned earlier that I'm using version 1.48.89. Andybot's suggestion worked πŸ˜„ Thank you all for your input. Problem solved thank you very much πŸ˜„

                          http://i777.photobucket.com/albums/yy60/jim_tim/treesgood.jpg

                          Don't know what I'd do without this forum lol.

                          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