sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Onyx trees into SU

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    34 Posts 12 Posters 7.0k 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.
    • RichardR Offline
      Richard
      last edited by

      @jasonh1234 said:

      Those trees are awesome. Gonna have to look up this Onyx prog.
      I wish SU allowed for LOD placeholders.

      Sorry to sound dumb! LOD?

      I would have to recommend ONYX. I'm amazed at the variety of species you can model, the ease of use and then check out the billboard abilities where you can look at the tree from any angle or elevation to suit your scene angle, change the sun direction to suit and get the ground shadow layer too. Great for compiling scenes later in PS! The other beauty is once you have set the parameters for one tree you can just randomise new versions of the same species.

      I don't have any poly count problems if i import OBJ format to maxwell studio from Onyx where I can map leaf images without issue but all that is lost upon import of 3ds or dxf to SU!!! Bugger!

      I've asked if any of the ruby guys could invest some time in creating a script for SU that works to make a component of one leaf then search for any similar geometry and replaces that with this new component, this would be an absolute gem for many other components bought into SU. no takers yet though unfortunately!

      [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

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

        This is a very interesting discussion as I am contemplating purchasing Onyx trees which my research leads me to believe are of excellent quality. Unfortunately I do not thoroughly understand some of the descriptions of techniques that I am reading in this post.

        Solo, you mention that you create bitmaps from your trees and you extract the alpha to make a billboard.I have been trying to do the same thing in Photoshop for export to SU for a while and I just cannot get it to work the way it should.I seem to be missing some important piece of information.If you could describe the procedure in a bit more detail I would very much appreciate it.For example, how exactly do you "extract the alpha"...? Is this done after you have imported the tree into SU and what type of file is used to make this procedure possible?

        Also, Richard mentions that he "can do a good job job straight out of Onyx...where the image map is exported with alpha and dxf panel sized correctly as well"...
        Please excuse my ignorance but does this mean that I once I purchase Onyx trees I will not have to bother with Photoshop to produce these types of trees...I get confused by the terminology too.Could someone please explain the difference between "image map", "clipmaps",and "clipping paths" (as in Photoshop).It would seem that they could all be the same thing but I don't want to assume that, I'd like to know for sure.There may be clear or subtle distinctions between them for all I know.

        I am new to these types of techniques but as always my enjoyment is derived from learning and developing my skills to produce better quality renditions.

        Thanks to everyone participating in this type of discussion, you make this process even more entertaining and I am intrigued by the wealth of in-depth information that is so generously shared between strangers on a site such as this....
        Limey

        1 Reply Last reply Reply Quote 0
        • RichardR Offline
          Richard
          last edited by

          @limey said:

          This is a very interesting discussion as I am contemplating purchasing Onyx trees which my research leads me to believe are of excellent quality. Unfortunately I do not thoroughly understand some of the descriptions of techniques that I am reading in this post.

          Solo, you mention that you create bitmaps from your trees and you extract the alpha to make a billboard.I have been trying to do the same thing in Photoshop for export to SU for a while and I just cannot get it to work the way it should.I seem to be missing some important piece of information.If you could describe the procedure in a bit more detail I would very much appreciate it.For example, how exactly do you "extract the alpha"...? Is this done after you have imported the tree into SU and what type of file is used to make this procedure possible?

          Also, Richard mentions that he "can do a good job job straight out of Onyx...where the image map is exported with alpha and dxf panel sized correctly as well"...
          Please excuse my ignorance but does this mean that I once I purchase Onyx trees I will not have to bother with Photoshop to produce these types of trees...I get confused by the terminology too.Could someone please explain the difference between "image map", "clipmaps",and "clipping paths" (as in Photoshop).It would seem that they could all be the same thing but I don't want to assume that, I'd like to know for sure.There may be clear or subtle distinctions between them for all I know.

          I am new to these types of techniques but as always my enjoyment is derived from learning and developing my skills to produce better quality renditions.

          Thanks to everyone participating in this type of discussion, you make this process even more entertaining and I am intrigued by the wealth of in-depth information that is so generously shared between strangers on a site such as this....
          Limey

          Limey

          Mate firstly we aren't strangers! Like you we are SU users - that makes us mates even brothers (in some cases almost lovers!!) hehe!

          Mate to get clipped images in SU you need to import the image as a PNG file with the areas not tree the be deleted in PShop. These PNG images will then need to be placed on a rectangular panel, made a component and normally set to face camera function in component dialogue.

          However many render apps need two maps a colour map JPG, BMP, TGA or PNG and another map in B & W where the white area represents where the app will cut this area from the panel (the non tree area.)!

          Onyx gives you the option to export your model as 3d (full geometry in a variety of 3D formats) or a 2D image with the option to include the alpha map. Now this is where it can be confusing first time! When the map image is exported as say JPG imported into PShop you wont see anything different. So in Pshop find the channels panel and you will note channels for the colour ranges and one named ALPHA. The simple process is then to CTRL+click on the alpha channel and the alpha area of the image will be selected. then in the layers pallet duplicate your background layer (PShop cant delete the alpha area from the background) select the new layer and hit delete and the background will be gone! Turn off the background and save the file as PNG as there you have it!!!!!!

          If you aim to use the maps in a render app that requires a clip map create another layer and use the selection to paint B&W to the opposing inverted areas as needed. There are other options here which include just duplicating your background again, desaturate and adjust contrast. Use which ever suits you!

          regarding Onyx, currently I'm finding the 3D import of models to SU just too large (that to make the tree effective in rendering) for them to work efficiently in SU as all geometry is bought in without the desired use of components to reproduce the leaves. I have requested the ruby guys might kick the can in creating a script that finds any similar geometry and replaces it with a repetative component though no one has taken up the challange yet!

          For me it is a shame the Onyz developers don't see value in the option to just have aa library of trees available for purcahse instead of just flogging the application as I think so many users would be happy with just content. Though that said Onyx is very useful for the creation of maps for trees of any type and once you have created one it is just the case of sliding the random seed slider a few notches and bang you have another version of the same tree so the scene doesn't show as one tree duplicated. Plus you can adjust camera angle, sun and shadow effects in Onyx to suit any weird aspect you are aiming to achieve in your output! The big shame is that you have to buy Onyx as there is no trial version!

          i hope this all helped mate! Richard

          [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

          1 Reply Last reply Reply Quote 0
          • plot-parisP Offline
            plot-paris
            last edited by

            @richard said:

            Mate firstly we aren't strangers! Like you we are SU users - that makes us mates even brothers (**in some cases almost lovers!!)**hehe!

            yeah, especially those without programing skills love the gods of ruby
            (who hopefully will master the challenge of a "transform group to component (and find similar)" function. the other way arround already exists... ๐Ÿ˜• )

            1 Reply Last reply Reply Quote 0
            • RichardR Offline
              Richard
              last edited by

              @plot-paris said:

              @richard said:

              Mate firstly we aren't strangers! Like you we are SU users - that makes us mates even brothers (**in some cases almost lovers!!)**hehe!

              yeah, especially those without programing skills love the gods of ruby
              (who hopefully will master the challenge of a "transform group to component (and find similar)" function. the other way arround already exists... ๐Ÿ˜• )

              Mate in the case of imported geometry and in this case from Onyx it probably goes a little deeper! The leaves are just mash - no groups (well the whole lot is but not individual leaves( so the script would need to firstly create a component from one leaf then search for any geometry (mindful they could be rotated flipped etc) similar to that selected for the first instance and destroy / replace this geometry with a new instance of the new component.

              BTW trees are the only opportunity for this script, cars, chair . table legs etc etc all come to mind as solved by this action!

              [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

              1 Reply Last reply Reply Quote 0
              • Alan FraserA Offline
                Alan Fraser
                last edited by

                Onyx trees generally are way too poly-intensive for use in SU; and as Richard says, their internal structure is one of all the leaves being separate entities rather rather instances of the same component. It's further complicated in that the leaves themselves often come into SU triangulated and sometimes with a blue back face evident, so they need to be edited. At the very least, you have to explode the entire canopy (which can hang-up SU for ages), then switch to wireframe and select/hide all the edges. The alternative being to edit each leaf...one at a time.

                I've found the best use of Onyx to be that of a reference tool; generating a 3D model that can then be emulated in SU, assembling a similar tree from scratch, using a proper component structure and transparent images for entire leaf clumps. Dare I mention the term "Tree Factory"? ๐Ÿ˜‰ It's about the only way you can get an end product that's actually usable in any numbers as opposed to a single tree that may look fantastic, but brings your system to its knees with no help from any other geometry.
                You can also use Onyx generate realistic leaf clumps which could then be alpha-imaged and used on top of a low-poly tree skeleton in a 2.5D kind of way...have the trunk and branches as normal 3D but have the leaf clumps spinning around at appropriate points on the structure to always Face Camera. I've tried this myself; get it right and you'd swear you were looking at a fully 3D tree. I've produced some in a similar way for FF, but can't post one here.
                There is one on the 3DW that uses the same principle here...but proper alpha leaf clumps would be better. Personally I'd do what I usually do and leave the pngs rectangular, but non-shadow casting, and set up a separate shadow-caster.

                A similar piece of software worth considering (if you want great, hi-poly trees for instancing in a photoreal renderer that can handle the poly count) is XFrog. They not only have complete libraries for sale with ready-to go models in about 9 different formats, but they also have the XFrog modeller itself, with which you can create plants from scratch or edit existing ones. There is a standalone version or add-ons for Max, Maya and C4D. They also have very fancy kit for poly-reduction and even producing variable LOD. A bit pricey for my taste though...although the libraries themselves aren't too bad at about $150 per.

                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
                • RichardR Offline
                  Richard
                  last edited by

                  Thanks alan

                  I've played ith Xfrog but don't find it as easy as onxy though still a gteat app! Does the leaves from xfrog come in as components???

                  The beauty of getting either of these apps and using them even in a primitive process is that SU MUST (yes I said MUST) at some stage soon be re-engined to handle this type of poly count or slowly I fear loose it's flavour! New apps appear nearly every day and it I'd suggest modelling in an almost real time rendered (at least ray trace and good GI) will surely be available sooner than later. Particularly now Nvidia have purchased Mental Ray - one wonders where that will go!

                  All said depending on the render app you use I know that pavol (maxwell plugin developer) is expecting to xref high poly components and maybe even actual MXS (maxwell studio) files. This would mean OBJ files exported from Onyx imported to MXS where mapping is maintained then material edited and used to replace the low poly SU component upon export!

                  I'm sure other apps will follow this lead!

                  [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                  1 Reply Last reply Reply Quote 0
                  • Alan FraserA Offline
                    Alan Fraser
                    last edited by

                    Yes, I agree Richard...Onyx is easier to use. I'm also playing with another one...a freebie from Stanford...called DRYAD

                    It also exports to obj format, but is a little flaky and sometimes just seizes up altogether...usually because it can't connect to the server. It has a rather quirky UI, but has many of the controls of the other two. Anything produced gets uploaded to the server and then forms a basis for any future creations by you or anyone else. As a quick, random generator it's pretty good. I find it quite useful for spitting out quick trunk/branch elements that can be edited and utilized in a SU tree farm. I wouldn't contemplate exporting a full-leaf version to SU. They sometimes have over 1 million polys.

                    Here's a quick export...rather more polys than I'd use myself from scratch, but not bad for a couple of minutes work.


                    bare.skp


                    bare.jpg

                    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
                    • I Offline
                      ideas_arte
                      last edited by

                      Hello ..!

                      Richard, please be kind enough to explain a little secret material?
                      I already have some Xforg in. Tiff
                      I did my materials (MXM) using the 'ClipMap' of the material editor and the result is this:

                      http://img24.imageshack.us/img24/2109/arbols.jpg

                      Shot at 2009-04-25

                      Yours are excellent, as you do it?

                      Thanks in advance ๐Ÿ˜ณ

                      1 Reply Last reply Reply Quote 0
                      • RichardR Offline
                        Richard
                        last edited by

                        @ideas_arte said:

                        Hello ..!

                        Richard, please be kind enough to explain a little secret material?
                        I already have some Xforg in. Tiff
                        I did my materials (MXM) using the 'ClipMap' of the material editor and the result is this:

                        http://img24.imageshack.us/img24/2109/arbols.jpg

                        Shot at 2009-04-25

                        Yours are excellent, as you do it?

                        Thanks in advance ๐Ÿ˜ณ

                        Mate for one it doesn't look like a great map to start with, bit low res! It also looks like the white area of your clip map needs to be expanded a pixel of two you would need to do this in an image editor!

                        BTW the trees in the image I posted are full 3d not clip maps!!

                        [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          It might also help to increase the SketchUp transparency quality in the syles window.

                          Chris

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Aidus
                            last edited by

                            This is my onyx trees in some project. All are 3D.
                            http://www.sketchucation.com/forums/scf/viewtopic.php?f=81&t=17206

                            It takes a lot of time to adjust trees for SU. Average size of tree ~ 10 - 20 Mb.

                            CPU: Intel Core i7 Extreme Edition 965
                            RAM: OCZ Gold DDR3 1600MHz 12Gb
                            Video: Asus Radeon HD4870 X2 2Gb
                            Mobo: Asus P6T Deluxe 1366 Intel X58

                            1 Reply Last reply Reply Quote 0
                            • I Offline
                              ideas_arte
                              last edited by

                              @richard said:

                              Mate for one it doesn't look like a great map to start with, bit low res! It also looks like the white area of your clip map needs to be expanded a pixel of two you would need to do this in an image editor!

                              BTW the trees in the image I posted are full 3d not clip maps!!

                              thanks Chris, Aidus & Richard for answering ..!

                              I found this link: http://www.sketchucation.com/forums/scf/viewtopic.php?f=81&t=18038&p=145347&hilit=onyx%2C+maxwell#p145347
                              and the idea is excellent Richard , my problem is I can not create the material (MXM).
                              โ€ขWhat bites is the best format to use?
                              โ€ขWhat is the recommended resolution?

                              Thanks in advance.

                              1 Reply Last reply Reply Quote 0
                              • RichardR Offline
                                Richard
                                last edited by

                                Mate the tree I used in that thread was originally 3d then rendered with alpha and depth maps exported. The depth map was used for displacement.

                                Without the depth map it would be hard to get the same effect.

                                In regards to the materials for the MXM, the bigger the map the better obviously. For most materials and maps I create from scratch I use images about 2400x2400 pixels. The ones for that tree were about 4000 x 1500.

                                For clip maps I'd suggest alwys using tiff format as jpg tends to have some random grey artifacts at the edges between the black and white, this will ruin the clipping effect.

                                I think generally your MXM is fine just the maps pretty crappy.

                                [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                                1 Reply Last reply Reply Quote 0
                                • RichardR Offline
                                  Richard
                                  last edited by

                                  @chris fullmer said:

                                  It might also help to increase the SketchUp transparency quality in the syles window.

                                  Chris

                                  Chris that is his Maxwell render! The shadows would be a square otherwise!

                                  [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                                  1 Reply Last reply Reply Quote 0
                                  • Chris FullmerC Offline
                                    Chris Fullmer
                                    last edited by

                                    @richard said:

                                    Chris that is his Maxwell render!

                                    Oh my, yes my suggestion won't help in that case!

                                    Chris

                                    Lately you've been tan, suspicious for the winter.
                                    All my Plugins I've written

                                    1 Reply Last reply Reply Quote 0
                                    • RichardR Offline
                                      Richard
                                      last edited by

                                      @aidus said:

                                      This is my onyx trees in some project. All are 3D.
                                      http://www.sketchucation.com/forums/scf/viewtopic.php?f=81&t=17206

                                      It takes a lot of time to adjust trees for SU. Average size of tree ~ 10 - 20 Mb.

                                      Mate you did well to get them down to that size! I'm finding my trees are ending up around 35Mb - I cant even paint them in SU as they just stall.

                                      I'm currently working on creating what I hope will be the answer to good low poly trees for SU - so I'll keep all posted.http://www.sketchucation.com/forums/scf/viewtopic.php?f=15&t=18367

                                      Hopefully too Pavol (MR exporter developer) can pull off his belief that MXS files may be able to be substituted for SU place holders upon export, this will be a very cool feature if ever included, as correct leaf and bark mapping within Studio from Onyx exports is just a drag on function.

                                      [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        ideas_arte
                                        last edited by

                                        http://img524.imageshack.us/img524/4738/arboll.jpg

                                        http://img524.imageshack.us/img524/9964/arbolll.jpg

                                        http://img207.imageshack.us/img207/9454/arbollll.jpg

                                        THNX RICHARD...!

                                        I still have problems with UV but got the most important thing ..!

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Aidus
                                          last edited by

                                          Richard.
                                          Pavol is working on this problem. He said that probably next plugin update can add external proxies even mxm files. So if he can do such update then there is no more need for taking huge geometry trees in sketchup.

                                          CPU: Intel Core i7 Extreme Edition 965
                                          RAM: OCZ Gold DDR3 1600MHz 12Gb
                                          Video: Asus Radeon HD4870 X2 2Gb
                                          Mobo: Asus P6T Deluxe 1366 Intel X58

                                          1 Reply Last reply Reply Quote 0
                                          • RichardR Offline
                                            Richard
                                            last edited by

                                            @aidus said:

                                            Richard.
                                            Pavol is working on this problem. He said that probably next plugin update can add external proxies even mxm files. So if he can do such update then there is no more need for taking huge geometry trees in sketchup.

                                            I know mate it will be so cool! Hey not sure what you mean about proxies for MXM files?

                                            [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

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

                                            Advertisement