Easy sorting.

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
mkultra333
Gold Sponsor
Gold Sponsor
Posts: 1889
Joined: Sun Mar 08, 2009 5:25 am
x 36

Easy sorting.

Post by mkultra333 » 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) ;
0 x
"In theory there is no difference between practice and theory. In practice, there is." - Psychology Textbook.

Post Reply