sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Render test, please...tomsdesk 2.5d trees?

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    56 Posts 12 Posters 7.7k Views 12 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
      tomsdesk
      last edited by

      Oops again: here are the alpha's:


      TDleaf_C_alpha.png


      TDleaf_D_alpha.png

      http://www.tomsdesk.moonfruit.com/
      2.5D Trees & Shrubs!

      1 Reply Last reply Reply Quote 0
      • L Offline
        lz2008
        last edited by

        nice!!!thanks!!!

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          A quick V-Ray test:

          • I hid the fake SU shadow layers
          • I exploded all Images using this plugin: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17154
          • Then added the alpha map to the diffuse layer for the leaf materials
          • Since the textures are colourized in SU, V-Ray for Sketchup creates a Blend Map for the diffuse material. This will make the colours look a bit flat, so I change the blend ratio from 0.5 to 0.0.

          Render01.png

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            @jhagan421 said:

            Tom

            Glad to add what I can. I forgot the mention (it was a bit late last night) that the trees really look great (IMO) πŸ‘

            The shadow thing bugs me because I saw test from Solo and from Sepo. There are shadows but very weak. You or someone else can correct me if I'm wrong but wasn't the image explode plug that Thomthom posted supposed to correct the shadows of the pngs in SU as well??

            @unknownuser said:

            is there a way in podium to have the leaf-bunch faces not accept shadows?

            In podium if you set an Omni light entity to have 0% opacity it will not CAST shadows - presumeably this would be the case for any object, but I've only used this (and only thought of it interms of eliminating double shadows - that said I don't think that is where you were going. If the endgame is to achieve results like the Vray image posted by Thomtom - that is what is suposed to happen with alpha pngs in Podium as well - I'm not sure why it did not work in my tests πŸ˜• .

            You might not see strong shadows if you got your sun set to around noon. You get that effect in V-Ray as well. The sun it straight over the model and doesn't cast very strong shadows. Try to adjust to an earlier or later time of day.

            My plugin just explodes all Image elements into regular faces as V-Ray can't render Image elements.

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • S Offline
              sepo
              last edited by

              I think jhagan421 was rendering without sun on , only GI. There is no problem to render those trees after exploding.

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

                Hi all.
                I did get the shadows to work, - see post of March 4.
                I had the shadows turned off. 😳 πŸ˜† I didn't realize you could do that. i don't do much exterior especially rendering
                Tom the new bunches look great πŸ‘
                Josh

                1 Reply Last reply Reply Quote 0
                • honoluludesktopH Offline
                  honoluludesktop
                  last edited by

                  Tom asked that I move this pm here:

                  I asked:

                  "In order to have the widest market appeal, shouldn't you cutout the transparent (alpha) surfaces so that all render software will easily cast shadows? Isn't this how most 2d trees and people are built?"

                  Tried your tree with su2pov3. The resulting render changed the colors and included the alpha rectangles (thought that pov had alpha support). IDX render also failed (alpha support slated for next release).

                  He said:

                  "The only reason, and a big one, is the poly-count...if I did what you suggest (and I did began that way) these trees (which are made up of several, some a bunch, of png images) would slow SU pretty fast (now you can pack a hundred of them in without slowing down too badly).

                  On the color render issues...I've noticed that too and haven't a clue? Maybe posting the question on this thread will attract some help from the others (which would serve to help me as well)."

                  My question:

                  OK, Just what consist of a poly-count? I thought it was just the number of surfaces. Are edges part of the poly-count? I have a 12" strip of 2d grass with about 300 edges, could that be a problem if I had say, 100 instances of it in a model?

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    remus
                    last edited by

                    Lots of edges slows down SU a lot, so yes having many instances of your grass component would slow SU down.

                    Ive got a feeling welding all the edges together can help, though.

                    http://remusrendering.wordpress.com/

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tomsdesk
                      last edited by

                      Wes, sorry I wasn't too clear: yes indeed, as Remus says, edges do make a difference. Let's pick one of my trees that has 10 pngs (high average). Each png has approx 400 leaves (low average). Each leaf would need an edge made up of at least 10 segments to look as nice as the alpha cut. That's 44,000 more edges and faces per tree...plus, all are now casting shadows in SU. It gets to be a drag really fast...just like a 3D tree, and why the 2.5d was developed.

                      I too hope someone can post a solution for the color fade issue...?

                      http://www.tomsdesk.moonfruit.com/
                      2.5D Trees & Shrubs!

                      1 Reply Last reply Reply Quote 0
                      • honoluludesktopH Offline
                        honoluludesktop
                        last edited by

                        Remus, how do you weld edges?

                        Tom, I didn't realize your trees had that many entites.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          remus
                          last edited by

                          With weld.rb, you can find it on smustard.

                          http://remusrendering.wordpress.com/

                          1 Reply Last reply Reply Quote 0
                          • honoluludesktopH Offline
                            honoluludesktop
                            last edited by

                            Remus, Thanks,

                            1 Reply Last reply Reply Quote 0
                            • EdsonE Offline
                              Edson
                              last edited by

                              i am having trouble rendering tom's trees in podium. i read everywhere that all i should do is explode them and i will be set, but i it does not seem that clear to me:
                              question 1: do i explode the whole component or the sub-component image with the leaves?
                              question 2: is it enough to explode one or should i select all and explode?

                              even though i do have the sun on (see the image from the skippy) i get no shadows in podium. and when i got one to work by chance the shadow was solid, not as i see in some of the pictures above. not even in sketchup i get shadows that are not blocky.

                              i am surely doing something wrong, but what? any tips?


                              TD_testsSUP.png


                              20090322095114_40s.jpg

                              edson mahfuz, architect| porto alegre β€’ brasil
                              http://www.mahfuz.arq.br

                              1 Reply Last reply Reply Quote 0
                              • thomthomT Offline
                                thomthom
                                last edited by

                                I think you have to enable a setting in podium itself to make it render sun shadows. I believe it's like V-Ray, it doesn't automatically use the SU sun, you have to tell it to.

                                Also, if Podium is like V-Ray: I had to explode the Image elements in the tree. That's the planes with the leaves. I made a plugin which will find all Images in a model and explode them. Automating the process. http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17154

                                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  Another thing regarding the shadows: Do you have a plane underneath the trees?
                                  In SU you can set the sun to cast shadows on the "ground", which means you get a shadow on the ground plane even if there's no geometry there. For V-Ray for instance, that won't work, you have to place some real geometry underneath it. What You See Isn't Always What You Get.

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • EdsonE Offline
                                    Edson
                                    last edited by

                                    thomas,

                                    thanks for the help. i had indeed forgotten to put a plane under the tree... 😳

                                    however, the sun is not enabled in podium but in SUp.

                                    i had found your script some hours ago but was struggling with it (very useful!). in one of my firts attempts at exploding the tree it created a new bunch of leaves close to the ground, as you can see below.

                                    question: should one just select the tree and run the script or should one get inside the component and select the leaf bunches?

                                    regards.


                                    Picture 43.png

                                    edson mahfuz, architect| porto alegre β€’ brasil
                                    http://www.mahfuz.arq.br

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      Hmm... that's odd. Does that happen every time?
                                      You don't have to select anything, because the script will explode every Image in the model to make it render.
                                      Could you send me that .skp you made the screenshot from so I could have a look?

                                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 Reply Last reply Reply Quote 0
                                      • EdsonE Offline
                                        Edson
                                        last edited by

                                        no, it did not happen every time. unfortunately, that was just a test skp. i did not even save it. should it occur again i will save it and PM it to you.

                                        edson mahfuz, architect| porto alegre β€’ brasil
                                        http://www.mahfuz.arq.br

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tomsdesk
                                          last edited by

                                          Sorry about the confusion...hope these a few thousand words worth ( :`) on the subject clear things up a bit:


                                          tn_Image-a.jpg


                                          tn_Image-b.jpg


                                          tn_Image-c.jpg


                                          tn_Image-d.jpg


                                          tn_Image-e.jpg

                                          http://www.tomsdesk.moonfruit.com/
                                          2.5D Trees & Shrubs!

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            I've been playing with these trees and found them to be great skeletons to map billboard trees to give them more volume.

                                            I replaced the original leaf textures with photos of real trees. (really quick and dirty - only meant for birds eye view scenes)

                                            Since each tree is only ~20-50 faces I can put loads out there. Perfect for birdseye views when you have lots of vegetation. Billboards just doesn't work in that perspective.

                                            I'll do some more tests with more colour variations so it doesn't look so uniform.


                                            Tree_Test.png


                                            ~1900 trees


                                            ~8000 trees

                                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                            List of my plugins and link to the CookieWare fund

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

                                            Advertisement