These trees are gonna kill me
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Not the trees themselves, but their leaf opacity masks.. Using a grayscale image to mask the shape of the leaves quadruples my render time. Is this typical? Eek, I hope not. I'm gonna be using a fair amount of vegetation, and they all use opacity maps to get their leaf shape. Turning off alpha shadows saves a little time, but the self-shadowing on the tree looks blocky and bad. Is there something I'm missing?
- LudovicRouy
- Posts: 216
- Joined: Sat Apr 03, 2010 5:05 pm
- Location: FRANCE
- Contact:
I've heard somewhere that converting leafs to real geometry gives a faster rendering but didn't try it....
I still get faster throughput with Octane with stuff like Andrey Pestryakov's stuff which (and I don't want to single him out) does have a tendency to be transmap heavy on the foliage, of which there can be a lot than I do with plain Daz Studio and ray-traced shadows.
It takes a lot of calculations for rays to pass through a whole heap of invisible geometry. It's much better to modify your leaf geometry (which I'm assuming is one quad), cut it a few times and modify the shape to as closely resemble the texture as possible. It will increase the polys of each leaf by 4-5 times, but you should see a performance increase.
Core i7 950 @3.07GHz | GTX 460 2GB | 12GB RAM | Window 7 x64
Geometry with instances saves a lot of memory and computing power as well compared to textures with alpha.
In this scene, the hedges have real modelled leaves, and the maple trees have planes with apha (I mapped 3 leaves per plane). I will work again on this scene and I plan try to rebuild the trees using geometry instead of alpha for the maple leaves.
This being said, instances are really interesting for medium complexity object. Too simple things like individual leaves require as much memory as non instanced, because the amount of objects coordinates becomes equal to the number of vertices of a more complex object or the number of pixels of a texture. So it is better to use branches as instances, rather than simple leaves.
In this scene, the hedges have real modelled leaves, and the maple trees have planes with apha (I mapped 3 leaves per plane). I will work again on this scene and I plan try to rebuild the trees using geometry instead of alpha for the maple leaves.

French Blender user - CPU : intel Quad QX9650 at 3GHz - 8GB of RAM - Windows 7 Pro 64 bits. Display GPU : GeForce GTX 480 (2 Samsung 2443BW-1920x1600 monitors). External GPUs : two EVGA GTX 580 3GB in a Cubix GPU-Xpander Pro 2. NVidia Driver : 368.22.
- LudovicRouy
- Posts: 216
- Joined: Sat Apr 03, 2010 5:05 pm
- Location: FRANCE
- Contact:
Thanks for this trick Roubal,
I didn't try instances but now I'll be aware and would make more huge model for it !
I didn't try instances but now I'll be aware and would make more huge model for it !
Using geo instead of opacity maps sounds nice but, unless I'm missing something, is not easy to implement. All the trees/plants models from XFrog, Evermotion, Tree Sketch, etc, are all non-instanced flat planes with opacity maps. This is the standard way foliage models are produced and sold. Having to recreate all the leaves manually for each one is a huge time-suck, and doesn't seem like a viable option for me.Daniel wrote:It takes a lot of calculations for rays to pass through a whole heap of invisible geometry. It's much better to modify your leaf geometry (which I'm assuming is one quad), cut it a few times and modify the shape to as closely resemble the texture as possible. It will increase the polys of each leaf by 4-5 times, but you should see a performance increase.
I can understand that alpha maps increase render times, but in MODO, I'm used to that being a max 50% increase with trees, not a 400% increase like in Octane.
I agree that it is not obvious with trees bought in packages. I mainly make my own trees. You can start on the basis of trunc and branches of your existing models, and add sub-branches with modelled leaves as instances...
French Blender user - CPU : intel Quad QX9650 at 3GHz - 8GB of RAM - Windows 7 Pro 64 bits. Display GPU : GeForce GTX 480 (2 Samsung 2443BW-1920x1600 monitors). External GPUs : two EVGA GTX 580 3GB in a Cubix GPU-Xpander Pro 2. NVidia Driver : 368.22.