I have found this to be a significant problem and was wondering if there are parameters that can be tweaked in VRay to reduce the vast amounts of ram consumed by trees.
We are using Onyx tree converted to proxies using opacity maps in the opacity slot for the leaves - no reflection or other fancy settings like that. The Onyx models are optimised directly from the Onyx export.
Are there any Vray Properties for the geometry/proxy that can be changed or are there render properties that can be tweaked ?
You could convert the opacity mapped leaves which I believe could be causing the problem to geometry instead. Somebody had a script for doing just that on this forum I will have a look and see if i can find it. Of course this means you going to have to redo the proxies.
We are not using Vray proxies for 3d trees, we found out Vray proxies deliver slower render times then xref files and also allowing dynamic memory makes possible more instances. Xref files should be instanced not copied. RPC should be copied instead of instanced.
It’s gotta be the opacity leaves. As I pointed out in my little test thread (http://www.chaosgroup.com/forum/phpBB2/viewtopic.php?t=16785) I was able to render about 1.8+ billion polys of a 200’ x 200’ area using only Onyx bushes, just under 25 minutes. And I was also watching a DivX movie while it was rendering so I could shave off a few minutes off of that.
on LeafObject pressed do
(
if (selection.count == 0) then
(
messagebox “Please select an object to use as a leaf”
)
else if (selection.count == 1) then
(
leafobject.text = $.name
global copy_obj = selection as array
makeleaves.enabled = true
LeafObject.enabled = false
)
else
(
leafobject.text = (“There are " + selection.count as string + " Leaf objects”)
global copy_obj = selection as array
makeleaves.enabled = true
LeafObject.enabled = false
)
)
on makeleaves pressed do
(
the_sel = selection as array
if (the_sel.count == 0) then
(
messagebox “Please select an object to replace leaves on”
This is incredible stuff, I just just don’t have the time to get into it this week. If you don’t mind I will get back to you on this as I have a number of questions already having gone through some of the process.
Sorry. But I just managed to track down that script on the {E}vermotion forum. I’ve been trying to play with it on Speertrees, but I can’t convert them into a mesh so I can’t even get as far as you.
Heh. Just noticed that John posted the original script.
Just wondering but when I draw the outline of the leaf and apply a Shell modifier to it - what is the best way to keep this geometry as low on vertices as possible ?
Probably not to bother with the shell - just use a vray material with the 2 sided option on. Draw a shape and stick a mesh select on it should do the trick.