PDA

View Full Version : Rendering order?


vOliver
09-24-2010, 02:25 PM
In order to get blending to work, I would like to render the items in my scene in a certain order, roughly from back to front.

I have a texture on some tree leaves that has transparency, and they seem to be blending with the skydome in the back, even when there are other things behind the tree that should be blended with, like the ground for example. Is there a way in Vizard to fix the rendering order? Or perhaps a better way to think about the problem?

thanks

nige777
09-27-2010, 01:03 PM
Hi, I think you need to be using vizard's built in function drawOrder function. This allows you to specify an objects draw order within the scene graph (lower numbers get drawn first).

Check out Vizard's help for more info :D

nige777
09-28-2010, 01:41 AM
LOL - built in function drawOrder function. - How many functions?? Well you know what I mean :o

vOliver
09-29-2010, 02:07 PM
Great, that's what i was looking for :)