• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

Tree problem

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
12 Posts 5 Posters 2.8k Views
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.
  • J Offline
    jim_tim
    last edited by 5 Feb 2012, 19:13

    I found some pine trees on 3D warehouse that i thought would look nice in my model. However, when I copied and pasted them into 'my model' they appear to have white bits in-between the leaves which they didnt show in the original 3D warehouse model. see below

    original 3D warehouse model:

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

    My model:

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

    Also, when I hit render(Vray) the appearance of the trees shows the leaves in their full jpeg format:

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

    Is there a workaround for this?

    Cheers πŸ˜„

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 5 Feb 2012, 20:20

      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 5 Feb 2012, 21:08

        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 6 Feb 2012, 13:37

          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
          • A Offline
            Alan Fraser
            last edited by 6 Feb 2012, 14:10

            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
            • G Offline
              Gaieus
              last edited by 6 Feb 2012, 14:37

              @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 6 Feb 2012, 14:39

                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
                • A Offline
                  Alan Fraser
                  last edited by 6 Feb 2012, 15:01

                  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
                  • A Offline
                    andybot
                    last edited by 6 Feb 2012, 15:39

                    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
                    • A Offline
                      Alan Fraser
                      last edited by 6 Feb 2012, 19:12

                      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
                      • A Offline
                        andybot
                        last edited by 6 Feb 2012, 19:51

                        @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 8 Feb 2012, 15:23

                          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
                          1 / 1
                          • First post
                            4/12
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement