StrandTree - Ice Procedural Tree Generator
Plugins linking to this thread: (hide)
Strand Tree
Updated April 2014 with a fix by Hans Adrian for Softimage 2014+. Strand Tree is a set of ICE compound nodes that allow the creation of plants and
trees. See the author site / the si-community discussion for documentation, example
scenes and videos.
Emitters: Emit Branches, Emit Leaves Grow Control: Even distribution grow, Random distribution grow Modifiers: Modify Branch Color by Iteration, Modify Branch Width by Iteration, Modify Particle Size by Iteration, Modify Value by Iteration, Modify Value by Normalized Strand Segment Debug: Debug Iteration Strand Effects: Deform Tree by Curve, Surface Grow Rendering: Tree Visibility Options, Use Geometry Branches Presets: Basic Tree, Pine Tree
Hans' interesting explanation for the Softimage 2014 fix: [..] I moved the »set data« node to outside of »Add point« node on creation. This is because whenever there is a »Add point« node, the custom attribute stored in points may be reset. This was the case with »self.__strandTree_NumBranchesPerIteration«, which was reset to 0. It caused division by 0 in »Even Distribution Grow« node and thus the whole compound does not work. To work around this, we need to set the custom attributes in per Object context, instead, so that those attributes will not reset when there is another »Add point« node.
Available: Softimage ICE Procedural Tree Generator, ICE Procedural Tree - Surface Grow and Tree simulation - wip.
local backup: StrandTree.xsiaddon (fixed version)
Emitters: Emit Branches, Emit Leaves Grow Control: Even distribution grow, Random distribution grow Modifiers: Modify Branch Color by Iteration, Modify Branch Width by Iteration, Modify Particle Size by Iteration, Modify Value by Iteration, Modify Value by Normalized Strand Segment Debug: Debug Iteration Strand Effects: Deform Tree by Curve, Surface Grow Rendering: Tree Visibility Options, Use Geometry Branches Presets: Basic Tree, Pine Tree
Hans' interesting explanation for the Softimage 2014 fix: [..] I moved the »set data« node to outside of »Add point« node on creation. This is because whenever there is a »Add point« node, the custom attribute stored in points may be reset. This was the case with »self.__strandTree_NumBranchesPerIteration«, which was reset to 0. It caused division by 0 in »Even Distribution Grow« node and thus the whole compound does not work. To work around this, we need to set the custom attributes in per Object context, instead, so that those attributes will not reset when there is another »Add point« node.
Available: Softimage ICE Procedural Tree Generator, ICE Procedural Tree - Surface Grow and Tree simulation - wip.
local backup: StrandTree.xsiaddon (fixed version)
author site: http://iceduous.blogspot.com / si-community thread
Re: StrandTree - Ice Procedural Tree Generator
Yes after rethinking this, I'd suggest to rather steer clear of instances of instances. Mental ray doesn't really handle this well.
It should keep the hierarchy, instead it "unpacks" all those instances, probably in order to avoid double SRT lookups. I had 6000 trees with 4000 leaves each. Mental ray creates 24 million instances now. This is bad, imagine having 50.000 trees with 10.000 leaves each. If you have 1 kb overhead for each instance (not a too unrealistic number) you'd be at 500 GB RAM usage
I think I'll try the Pointcloud deinstance script next
It should keep the hierarchy, instead it "unpacks" all those instances, probably in order to avoid double SRT lookups. I had 6000 trees with 4000 leaves each. Mental ray creates 24 million instances now. This is bad, imagine having 50.000 trees with 10.000 leaves each. If you have 1 kb overhead for each instance (not a too unrealistic number) you'd be at 500 GB RAM usage
I think I'll try the Pointcloud deinstance script next
softimage resources section updated Jan 5th 2024
Re: StrandTree - Ice Procedural Tree Generator
Ok I modified (&uploaded) Jules' pointcloud deinstance script so that it works with trees (In his version every point has to have a shape, for trees only leaves have a shape)
Some foresty renders might be following xD
Some foresty renders might be following xD
softimage resources section updated Jan 5th 2024
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: StrandTree - Ice Procedural Tree Generator
I assume the version on your website is the upload you're referring to.rray wrote: Ok I modified (&uploaded) Jules' pointcloud deinstance script
If so, it probably would be wise to denote it as a/the modified script
(as the file name "pointcloud_deInstance_03rrmod.py" implies)
not the original... ;)
Stay safe, sane & healthy!
Re: StrandTree - Ice Procedural Tree Generator
done
softimage resources section updated Jan 5th 2024
-
- Posts: 94
- Joined: 09 Jun 2009, 23:47
Re: StrandTree - Ice Procedural Tree Generator
nice, I'll try the script asap.
Also this would solve the problem with colors/materials of instances of instances.
Maybe for mray the less problematic workflow would be to generate mesh from the pointcloud using Andy's saveRenderMesh (for branches), and deInstancing leaves using your mod of Jules' script (since saveRenderMesh cannot handle instances, at least that I know). It'll need an extra step in the workflow, but can be more render friendly and controllable (read: lattices, weightmaps, uv editing, etc)
let me know if you have any success.
Also this would solve the problem with colors/materials of instances of instances.
Maybe for mray the less problematic workflow would be to generate mesh from the pointcloud using Andy's saveRenderMesh (for branches), and deInstancing leaves using your mod of Jules' script (since saveRenderMesh cannot handle instances, at least that I know). It'll need an extra step in the workflow, but can be more render friendly and controllable (read: lattices, weightmaps, uv editing, etc)
let me know if you have any success.
Re: StrandTree - Ice Procedural Tree Generator
I have done a few poly instancing tests. These are 45.000 instances of this simple tree (1-polygon leaves, no branches, only trunk remodeled)
firefox does some weird color correction to jpgs so I uploaded this as a gif
*rendertime: 3 hous
*ram usage: 1 GB
*randomized Y rotation, particle size, particle Y scale
firefox does some weird color correction to jpgs so I uploaded this as a gif
*rendertime: 3 hous
*ram usage: 1 GB
*randomized Y rotation, particle size, particle Y scale
softimage resources section updated Jan 5th 2024
Re: StrandTree - Ice Procedural Tree Generator
Hi ray thanks for tests,
btw Its not weird colour correction but embeed in jpg color profile of your monitor. Same goes with alot of screengrabs from diffrents users posted here. I see yellow xsi interface instead of gray. Check photoshop options when saving for web.
btw2 I think I will send you some of my scripts Ray...I had one pc deinstance script with str animation to keyframes...lost in when doing hdd cleanup.
btw Its not weird colour correction but embeed in jpg color profile of your monitor. Same goes with alot of screengrabs from diffrents users posted here. I see yellow xsi interface instead of gray. Check photoshop options when saving for web.
btw2 I think I will send you some of my scripts Ray...I had one pc deinstance script with str animation to keyframes...lost in when doing hdd cleanup.
Re: StrandTree - Ice Procedural Tree Generator
rray - nice tests! You should really have a look at arnold for those renders, its much much better at memory management on big scenes.
Re: StrandTree - Ice Procedural Tree Generator
hey guys. this is really looking great.
if anyone is interested to send me one of those great scenes I could render it out in Arnold and post test results, after getting approval from Arnold team ofc.
Also i will need install ice compound so a little help would be great there as well.
cheers!
if anyone is interested to send me one of those great scenes I could render it out in Arnold and post test results, after getting approval from Arnold team ofc.
Also i will need install ice compound so a little help would be great there as well.
cheers!
Re: StrandTree - Ice Procedural Tree Generator
Here is the scene from the last picture
Should work without installing anything, since StrandTree is using factory ICE nodes only.
Should work without installing anything, since StrandTree is using factory ICE nodes only.
softimage resources section updated Jan 5th 2024
Re: StrandTree - Ice Procedural Tree Generator
hey. is it possible that it has bin this long since post here... omg
anyway I finally got that scene and put it into arnold.
Had some problems as it didn't instance full hierarchy just the main branch, but I made a quick test
with all geometry for the tree merged into single poly mesh.
Well time wise... woooaaa..
let me just check with guys at sitoa about posting image and everything, to see if it is ok.
anyway I finally got that scene and put it into arnold.
Had some problems as it didn't instance full hierarchy just the main branch, but I made a quick test
with all geometry for the tree merged into single poly mesh.
Well time wise... woooaaa..
let me just check with guys at sitoa about posting image and everything, to see if it is ok.
Re: StrandTree - Ice Procedural Tree Generator
hi,
I'm new,
I am very interested ice tree stand
do not know how to install, can you help?,
I watched the video, ok for texture leaves (polygons leaf texture + alpha),
but for the trees?
thanks
I'm new,
I am very interested ice tree stand
do not know how to install, can you help?,
I watched the video, ok for texture leaves (polygons leaf texture + alpha),
but for the trees?
thanks
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: StrandTree - Ice Procedural Tree Generator
When you say you've watched "the video", do you mean all videos on the first page of this thread?
Installing this should be as easy as unzipping/unrarring the file and dropping the folder "StrandTree" in the "Data > Compounds" folder of your Softimage user directory. After a restart, the compounds should show up in the ICE Preset Manager under "Tasks" > "Strand Tree"...
Installing this should be as easy as unzipping/unrarring the file and dropping the folder "StrandTree" in the "Data > Compounds" folder of your Softimage user directory. After a restart, the compounds should show up in the ICE Preset Manager under "Tasks" > "Strand Tree"...
Stay safe, sane & healthy!
Re: StrandTree - Ice Procedural Tree Generator
This is just so awesome! Many many thanks for generosity and hard work!
Portfolio / Blog
http://www.nuverian.net
http://www.nuverian.net
Re: StrandTree - Ice Procedural Tree Generator
Is strandtree still working 2014 sp2?
There's something wrong with even distribution grow the strands don't spread out like they should, random distribution grow seems to work normally.
Also tested it with the ivy example scene, branches don't spread out, seems something's broken
There's something wrong with even distribution grow the strands don't spread out like they should, random distribution grow seems to work normally.
Also tested it with the ivy example scene, branches don't spread out, seems something's broken
Re: StrandTree - Ice Procedural Tree Generator
You right. "Even distribution grow" is broken . I'm using 2014 sp1.forton wrote:Is strandtree still working 2014 sp2?
There's something wrong with even distribution grow the strands don't spread out like they should, random distribution grow seems to work normally.
Also tested it with the ivy example scene, branches don't spread out, seems something's broken
I'm really new using ICE with Softimage. I'll try to contact with Fabricio and see if we can get an update for this compound.
Who is online
Users browsing this forum: No registered users and 53 guests