• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

RpTreeMaker - new version Dec 12, 2008

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
67 Posts 15 Posters 10.6k 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.
  • A Offline
    Anssi
    last edited by 13 Dec 2008, 23:03

    Al,

    The performance boost on my old machine is almost astronomical!

    I wonder if a future release could have a control for the vertical viewing angle, as a more "from below" view might be more realistic for trees viewed from near, and a plan view component viewed from straight above would have its uses too.
    πŸ‘ πŸ‘ πŸ‘

    Cheers,

    Anssi

    securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

    1 Reply Last reply Reply Quote 0
    • M Offline
      marne
      last edited by 15 Dec 2008, 10:32

      Amazing like the previous one, a 1000 thanks. Unbelievable that its for free. πŸ‘ πŸ˜„

      1 Reply Last reply Reply Quote 0
      • A Offline
        Al Hart
        last edited by 26 Dec 2008, 04:23

        @unknownuser said:

        Dear Al, thank you for these fine Christmas presents. I am already very pleased about the plugin that moves and mirrors etc. Will save loads of time especially in mirroring. Nice one!

        As far as the tree maker is concerned i had a quick look and i liked the graphic presentation. i might be wrong but when i tried to render a file with some of these trees in Podium 1.6 ignored them in rendering. Is this right? Or is it something still to be looked at or does it only appear after a certain time on a long rendering. I presume it will take a lot of working memory this tree maker. Very good though that you are looking at tree presentation within Sketchup. It was always a difficult but important item.
        I would love to hear your comment on the rendering and a merry christmas from Spain

        Podium users need to edit the tree component, and the select and explode the image inside of the component. This explodes the image into a face, which makes a square shadow in SketchUp, but renders properly in Podium. We are working on a new version which will create the face directly in SketchUp instead of the image, and which will probably create realistic shadows in SketchUp as well.

        You might try the Render Plus renderer - IRender nXt - It automatically re-renders the trees as fully fractal trees and gives a much better result. Especially as you zoom in and zoom out on the trees. (RpTreemaker and IRender nXt were both developed by the McNeel/nXt/AccuRender team, so the nXt renderer can automatically re-render the trees.

        However, the "image only" trees work well for SketchUp and can be made to work with other renderers like Podium if you use the edit and explode trick.

        Al Hart

        http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
        IRender nXt from Render Plus

        1 Reply Last reply Reply Quote 0
        • A Offline
          Al Hart
          last edited by 26 Dec 2008, 05:04

          @anssi said:

          Al,

          The performance boost on my old machine is almost astronomical!

          I wonder if a future release could have a control for the vertical viewing angle, as a more "from below" view might be more realistic for trees viewed from near, and a plan view component viewed from straight above would have its uses too.
          πŸ‘ πŸ‘ πŸ‘

          Cheers,

          Anssi

          We currently place the camera at 50% of the height of the tree above the ground and look at the middle of the tree. I'll let you set the camera height and we will see if that helps.

          Al Hart

          http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
          IRender nXt from Render Plus

          1 Reply Last reply Reply Quote 0
          • A Offline
            Al Hart
            last edited by 26 Dec 2008, 05:06

            @al hart said:

            We currently place the camera at 50% of the height of the tree above the ground and look at the middle of the tree. I'll let you set the camera height and we will see if that helps.

            I added a camera height factor as a percentage of the tree (default 50%) to the advanced settings dialog. It does change the view angle to the tree - see 5% and 150%. (This will be in the next release)


            camera-heights.JPG

            Al Hart

            http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
            IRender nXt from Render Plus

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gaieus
              last edited by 26 Dec 2008, 09:22

              @al hart said:

              We are working on a new version which will create the face directly in SketchUp instead of the image, and which will probably create realistic shadows in SketchUp as well.

              Hi Al,

              If this also means that you "trace around" the image, please, make it only an option since it can boost poly count considerably. Or even better; an "accuracy" setting would also be cool to create "somewhat" realistic shadows for mid and far distance trees which would be enough.

              Gai...

              1 Reply Last reply Reply Quote 0
              • A Offline
                Al Hart
                last edited by 26 Dec 2008, 16:54

                I hope to have time to get this finished soon.

                We are using a concept of hexagons, rather than squares to convert the pixels to polylines. This makes a smoother shadow mask with fewer lines.

                Hexagons around groups of pixels. 12 pixels (or more at lower accuracy), are used to turn on one hexagon, which is then used to create lines for the shadow border.

                Since shadows do not need to be too accurate, (and renderers which process alpha-transparent images properly will create shadows directly from the image itself), we think this might work well. I am reacting to a comment Susan S. made that no automated routine can produce shadow masks as well as someone doing it by hand. She is right of course, but I am hoping we can do a better job than you get by tracing around square pixels.

                Here is a sample of a RpTreeMaker tree with a "low-poly" hexagonal shadow mask. Actually I have this working for the outside edges, but not for the holes yet. If I don't have time to get the holes to work yet (It's not that hard - just takes some more programming and testing time, perhaps I will release the outside only version.)

                In either case, the shadow mask will be an option with an additional option for accuracy of the tracing.

                Tree maker image with hexagonal shadow mask.

                Al Hart

                http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                IRender nXt from Render Plus

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sorgesu
                  last edited by 26 Dec 2008, 18:02

                  Hi Al, this is very interesting. I'm anxious to see the result.
                  To be more specific as to what I said, or intended to say, is that a computer cannot do as well keeping the dual goals of "low polycount" and "satisfactory" shadow shape in mind. One or the other gets sacrificed with the automated version.

                  For instance we set ourselves a goal of having no more than 200 segments per tree ( more with flowers or less often repeated entourage) and a convincing shadow. We manage quite nicely but with about 20 minutes of outlining and decision making per tree.

                  So I am very interested in what your output is going to look like.

                  Susan Sorger
                  Former Seller Hand Rendered Entourage
                  Former Canadian Authorized Training Centre, SketchUp

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Al Hart
                    last edited by 29 Dec 2008, 18:47

                    @sorgesu said:

                    So I am very interested in what your output is going to look like.

                    This is showing promise. Here is the same tree with 3 accuracy settings for the shadow masks. (I turned on view hidden geometry so you can see the edge lines which are ordinarily not visible.)

                    I may increase the accuracy of low just a little - to bring it to about 90 lines, and lower the accuracy of high - to bring it to about 600 lines. (The actual number of lines will depend on the complexity of the tree.)

                    tree-maker-shadow-masks.JPG

                    Al Hart

                    http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                    IRender nXt from Render Plus

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Al Hart
                      last edited by 29 Dec 2008, 18:58

                      Rendering with V-Ray or Podium

                      Are there any V-ray or Podium users out there who could test these components to see if they render properly? I have attached the SKP file. I am also planning a "rectangle" option which will make a rectangular shadow mask - if you want to keep the SketchUp models even smaller.

                      rptreemaker-options.jpg

                      If you need to make modifications to make it work properly, let me know what they are and/or send me the modified .SKP file so we can try to create the components properly in the first place.


                      RpTreeMaker Trees with Shadow masks

                      Al Hart

                      http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                      IRender nXt from Render Plus

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sorgesu
                        last edited by 29 Dec 2008, 20:32

                        Lovely. I do have a question though. It isn't readily apparent from the images.
                        At the low poly count, other solutions have had a tendencay to cut accross bits of the image. that is, it lopped off bits. With a photo it may not matter, but with a drawing, some of the nuance is in the outline and if that is removed, it really takes away from the visual.
                        Comment?

                        Susan Sorger
                        Former Seller Hand Rendered Entourage
                        Former Canadian Authorized Training Centre, SketchUp

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Al Hart
                          last edited by 29 Dec 2008, 20:53

                          I'll keep my eye open for that.

                          It was my intention to not include hexagons which had only 1 or 2 pixels overlap with with the image. But I will change it to include everything. It might make the shadow slightly larger, but should still work ok.

                          Al Hart

                          http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                          IRender nXt from Render Plus

                          1 Reply Last reply Reply Quote 0
                          • EarthMoverE Offline
                            EarthMover
                            last edited by 30 Dec 2008, 09:45

                            Here's a quick test with Vray. I did have to add alpha mask to the trees in order to get the outline to disappear. It's odd though that the alpha map didn't seem to affect the shadow output. No worries though, as the high poly output shadow is very good as is.

                            Also, shadows appear the same on all trees within Podium.

                            Al, have you ever considered adding the ability to import a .png file into the treemaker, solely to utilize the shadow mask algorithm? This would be an indispensable tool for me as the time spent on cutting out shadow masks by hand is very tedious. It would be a handy tool for inserting a billboard and having the tool automatically generate an output with the shadow mask.


                            RP Treetest Vray reduced.jpg


                            20081230042420_12s.jpg

                            3D Artist at Clearstory 3D Imaging
                            Guide Tool at Winning With Sketchup
                            Content Creator at Skapeup

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Gaieus
                              last edited by 30 Dec 2008, 11:33

                              @earthmover said:

                              Also, shadows appear the same on all trees within Podium.

                              I'd expect that since Podium can handle the transparent channel of the png image so its shadow is even better than that of any of the cutouts.

                              Nicely rendered trees! πŸ‘

                              Gai...

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sepo
                                last edited by 30 Dec 2008, 12:49

                                Gaieus you are correct.πŸ˜„ .png trees render no problem in Podium

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  Gaieus
                                  last edited by 30 Dec 2008, 12:52

                                  Actually I have found it very useful and handy with a couple of rendering engines that they support alpha channel rather than you'd need to suffer with clip masks (although they are not very hard to make from a nice alpha channels anyway)

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sepo
                                    last edited by 30 Dec 2008, 12:59

                                    True , clipmaps are easy to make, but when you have a lot of them in SU file it is not as easy to navigate about (of course if those are not .png)

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Al Hart
                                      last edited by 30 Dec 2008, 15:18

                                      @earthmover said:

                                      Here's a quick test with Vray. I did have to add alpha mask to the trees in order to get the outline to disappear. It's odd though that the alpha map didn't seem to affect the shadow output. No worries though, as the high poly output shadow is very good as is.

                                      Also, shadows appear the same on all trees within Podium.

                                      Al, have you ever considered adding the ability to import a .png file into the treemaker, solely to utilize the shadow mask algorithm? This would be an indispensable tool for me as the time spent on cutting out shadow masks by hand is very tedious. It would be a handy tool for inserting a billboard and having the tool automatically generate an output with the shadow mask.

                                      Do you add the alpha mask to the trees in SketchUp, or as a post process in V-ray.

                                      If you add them in SketchUp, send me a model with a tree with an alpha-mask.

                                      If you add them in V-Ray, send me a sample of the alpha-mask.

                                      Al Hart

                                      http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                                      IRender nXt from Render Plus

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Al Hart
                                        last edited by 30 Dec 2008, 18:51

                                        @earthmover said:

                                        Here's a quick test with Vray.

                                        I see that you placed the tree in front of a window, but it wasn't reflective.

                                        I forgot about reflections.

                                        Would you put one of the trees in front of a reflective window or mirror to see if we get the reflection properly?

                                        I only put the image on one side of the tree (since they are marked as always face camera). But I may need to put a material on both sides.

                                        Mirrored trees - IRender

                                        Al Hart

                                        http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                                        IRender nXt from Render Plus

                                        1 Reply Last reply Reply Quote 0
                                        • EarthMoverE Offline
                                          EarthMover
                                          last edited by 30 Dec 2008, 20:24

                                          Al, Here is the alpha map I used and were I put it. Vray runs from within sketchup, but you add the alpha map in the transparency channel from within vray.

                                          Also, the reflections are not working in Vray.

                                          Hope that helps.


                                          RPTree Vray alpha example.jpg


                                          Standard Tree (15) (copy)_clipmap.png


                                          RP Treetest Vray_reflection.jpg

                                          3D Artist at Clearstory 3D Imaging
                                          Guide Tool at Winning With Sketchup
                                          Content Creator at Skapeup

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

                                          Advertisement