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.
    • 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
                • EdsonE Offline
                  Edson
                  last edited by

                  this looks great, thomas. will you make them available here?

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

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

                    @edson said:

                    this looks great, thomas. will you make them available here?

                    I can't do that. It's tom's trees. From his commercial collection. http://solosplace.com/Tomsdesk.aspx

                    They are originally NPR - but I just wanted to demonstrate that they work with other textures as well. Though, I could post some replacement texture when I get around to make some proper ones. (Along with description of how to do the changes.)

                    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

                      I just used standard settings when I rendered and they turned out rather dark. Here's a lighter variant.


                      Colour Adjusted

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

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Prisoner
                        last edited by

                        WOW, they look great Tom! Those replacement textures would be very interesting.

                        Here is an Artlantis render I did to find out if I can use them. Had to disable the 2 shadow layers, fiddle with the shaders a bit to get the transparency working, that's it. 20 seconds when I knew what to do.

                        Great Trees. The bundles are on my personal wishlist now πŸ˜„


                        2,5D Tree.jpg

                        1 Reply Last reply Reply Quote 0
                        • EscapeArtistE Offline
                          EscapeArtist
                          last edited by

                          Kerkythea, 500x500. I had to explode everything to each individual face and delete the main vertical and horizontal face in the tree before exporting to Kerky. Once in Kerky, I used the alphas as clip maps, inverted them and rendered.


                          Kerkythea 500 x 500

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

                            To make the trees you see in my test renders I first exported the texture from the model:

                            Original Texture

                            I then opened it Photoshop and overlaid a photo of some leaf vegetation - ensuring to keep the original transparency.
                            TDleaf_B6_01.pngTDleaf_B6_02.png

                            A different replacement for TDleaf_Bs1-5
                            TDleaf_Bs1-5_alpha_02.png

                            As you can see, it was done quick and dirty. Position and scale wasn't done much with.
                            With some more care taken to choose replacement texture and position and scale it - I'd think that you could get closer to the trees and they'd still look ok.

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

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

                              I wonder how easy or hard it would be to turn these trees into dynamic components and you could choose to have PR-"ish" or NPR rendering options in the dialog. πŸ˜’

                              Gai...

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

                                @gaieus said:

                                I wonder how easy or hard it would be to turn these trees into dynamic components and you could choose to have PR-"ish" or NPR rendering options in the dialog. πŸ˜’

                                Not too much work. You have one set of faces with PR on one layer and one set of NPR on another. Then you make a checkbox option that toggles them. (You might be able to do it without layers as well, can't remember right now.)

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

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

                                  Wouldn't putting several pngs in a dynamic component push the bytes way up?

                                  Thomas, All, try this (no need to map it to the old alpha, just replace the old image with this one):
                                  leaves1ds.png

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

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

                                    @tomsdesk said:

                                    Thomas, All, try this (no need to map it to the old alpha, just replace the old image with this one):

                                    Will do.
                                    The only reason I used the old alpha was that I didn't have a nice sample like you got there.

                                    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

                                      This just proves how important good textures are. This one works much better even up close. And only 39 faces!
                                      With a few good branch textures like of various trees and various colour variations - and some trunk textures Sketchup forest'll be looking really good.

                                      Tree Test 2.png
                                      Check out the full size to see how well it works even close up.

                                      A new forest test is in progress.

                                      Tom: Would you consider doing a PR version of your collection? If they contain vegetation that fits to North Europe you got yourself a quarantined customer.

                                      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

                                        @tomsdesk said:

                                        Wouldn't putting several pngs in a dynamic component push the bytes way up?

                                        Yes - you would have both versions of the png's stored in the file.

                                        Personally I don't have the need to switch like that. I either have a PR or NPR scene - so separate libraries are fine for me. And I'd prefer it as well because you double the material list - and that become too large too quick as it is.

                                        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

                                          A forest of ~6000 trees - ~128000 faces total.

                                          Forest Test 2 - 02.png

                                          For this kind of shot the tree trunk can be simplified even further. You hardly see it. So a four face pyramidic shape might do. That'd reduce the face count even more - meaning more trees can be squeezed in. When I get time I'll try to do a 1.000.000 face scene with the most amount of trees I can fit.

                                          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

                                            Same forest - seen from lower angle.

                                            This is where you need more tree variations in different colour tones.


                                            Forest Test 2 - 03.png

                                            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