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.
    • 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
                        • T Offline
                          tomsdesk
                          last edited by

                          Thomas, I will now definately consider doing a couple of PR sets to see how it goes. I've shy-ed away from them because the pngs are so much more expensive...bytewise (most of my NPR pngs are way less than 100k, this one is pushing 400k and smaller than most would need to be).

                          Would the grayscale "you-color-them" idea still work?

                          Really nice example shots BTW...thank you very much for showing the possibilities!

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

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

                            I'm personally not that bothered about the filesizes. Storage is cheap. If the pixel dimmensions are the same they will consume the same amount in memory as the compressed images need to be decompressed in order to be used.

                            For V-Ray for Sketchup the grayscale doesn't work that well, as VfSU blends them in an odd way. And Even if they did blend it correctly I'd prefer to not have grayscale - because the textures will look flat. You end up with a very limited amount of colours. I'd like to have the varius shades of green in the texture as they look more alive then.

                            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

                              @thomthom said:

                              For V-Ray for Sketchup the grayscale doesn't work that well, as VfSU blends them in an odd way. And Even if they did blend it correctly I'd prefer to not have grayscale - because the textures will look flat. You end up with a very limited amount of colours. I'd like to have the varius shades of green in the texture as they look more alive then.

                              Full-bore it is then! Soon as I get my move on I'll get started.

                              Is this the kind of thing that will trip the rest of y'alls triggers?

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

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

                                @tomsdesk said:

                                Is this the kind of thing that will trip the rest of y'alls triggers?

                                hi tom,

                                i would say PR trees would be at least as desirable as NPR, perhaps even more. i would not doubt buying packages of trees like the ones shown here by thomas.

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

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

                                  For the sake of insanity I did a test with ~1 000 000 faces - resulting in ~52600 trees. This is with the same tree as in the last test. I didn't optimise the tree trunk.

                                  I think I'm close to what I can push through the system. When rendering it peaked at 1.8GB RAM usage.


                                  Forest Test 2 - 04.png


                                  Forest Test 2 - 04 - Model Info.png

                                  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

                                    That's very promising. You could (of course for each project, one by one) export somekind of a background filled with trees and such,use it as a skybox, hdri background or whatever and only use "real 3d" trees in the very close-up of your model. Something like this:

                                    ThomsForestBkgrd.jpg
                                    You can export such backgrounds straight from SU or from LightUp or Vue... - depending on the "PR realism" you want to achieve...

                                    This way it would still look "organic" to the project itself (not a totally different, strange background), keep the file size and navigation reasonable and still achieve some convincing results. Surely shadow directions and the time of the day should more or less match but that's always the case with other backgrounds, too.

                                    Gai...

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

                                      Yes, for that scale even pure clipmaps would do.

                                      What you describe by keeping the level of detail relevant for the current view is the method I use normally.

                                      This was merely a test for the sake of ... testing?

                                      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

                                        Surely clipmaps would also do but they still tax rendering time when a lot of them are present in a scene.

                                        And yes of course I see you are doing this for a test - it just generated some ideas...
                                        πŸ˜‰

                                        Gai...

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

                                          Yes, and with VfSU said to support Proxies it'd be interesting to see if an automated Level Of Detail system can be implemented. Have simple lines in SU representing a tree, then have the renderer use different proxy element based on the distance from the camera. That'd be a very nice setup.

                                          I'm getting more optimistic in regards to vegetation and SU. πŸ˜„

                                          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

                                            Oh, you mean generate a backdrop from an SU model - custom fitted to the project? hmm... grabs thinking-hat

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

                                            Advertisement