Easy sorting.
Posted: Mon Feb 21, 2011 7:07 am
I need to sort the render order of some solid stuff from front to back. It appears to be insanely difficult to do, I'm trying to use RenderQueueInvocation and getting nowhere. Can't find much explanation on how to do it.
http://www.ogre3d.org/forums/viewtopic. ... &view=next
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=34543
The first method isn't working for me, http://www.ogre3d.org/forums/viewtopic. ... 73#p419973
The second method makes no sense to me since I'm not using any listeners.
This should be easy. Perhaps a simple function that lets you pick a render queue group, for instance RENDER_QUEUE_8, and specify that stuff in that group is to be sorted front to back, back to front, or whatever. Something like
SetRenderQueueGroupSortOrder(RENDER_QUEUE_8, OM_SORT_ASCENDING) ;
http://www.ogre3d.org/forums/viewtopic. ... &view=next
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=34543
The first method isn't working for me, http://www.ogre3d.org/forums/viewtopic. ... 73#p419973
The second method makes no sense to me since I'm not using any listeners.
This should be easy. Perhaps a simple function that lets you pick a render queue group, for instance RENDER_QUEUE_8, and specify that stuff in that group is to be sorted front to back, back to front, or whatever. Something like
SetRenderQueueGroupSortOrder(RENDER_QUEUE_8, OM_SORT_ASCENDING) ;