Re: [osg-users] RenderOrder, RenderOrderNums

2018-08-27 Thread Johny Canes
Real solution:

A render num  of 4 renders after 5.

I thought a render order (num) of 1 would render before 2 (because 1 is before 
2). Not the case at all?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74607#74607





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RenderOrder, RenderOrderNums

2018-08-19 Thread Johny Canes
Never mind, this had to do with only setting the viewMatrix of the viewer 
camera.

I have an "override" camera that renders one global material for the whole 
scene, and it created itself using new Camera( *viewercamera )

This caused the view matrix to always be behind one frame.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74565#74565





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org