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) ;
Easy sorting.
- mkultra333
- Gold Sponsor

- Posts: 1894
- Joined: Sun Mar 08, 2009 5:25 am
- x 116
Easy sorting.
"In theory there is no difference between practice and theory. In practice, there is." - Psychology Textbook.