Hi,
I was wondering what kind of assumptions I can make about the rendering order.
for example in kinda pseude code:
rootnode-addChild(node1);
rootnode-addChild(node2);
node1-addChild(node3);
node1-addChild(node4);
node3-addChild(node5);
would give:
rootnode - node1 - node3
Hi Bram,
The rendering order is controlled by the type of RenderBin that the
drawable leaves are dropped into during the cull traversal. If the
drawables are in the default opaque bin then they'll be sorted by state
order, the traversal order will have no effect on the draw order. If the
Thanks for your quick answer!
What exactly does 'sorted by state order' mean?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60334#60334
___
osg-users mailing list
osg-users@lists.openscenegraph.org
On 18 July 2014 16:30, Bram Vaessen bram.vaes...@gmail.com wrote:
Thanks for your quick answer!
What exactly does 'sorted by state order' mean?
state sorting uses the pointer to the StateSet as the key, so all Drawables
that inherit the same state will be rendered together.
Robert.
4 matches
Mail list logo