workaround for multiple scene manager and pass hash pb

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
madmarx
OGRE Expert User
OGRE Expert User
Posts: 1668
Joined: Mon Jan 21, 2008 10:26 pm

workaround for multiple scene manager and pass hash pb

Post by madmarx » Fri Apr 23, 2010 2:03 pm

Hello everyone,

I got the assert :retPair.second && "Error inserting new pass entry into PassGroupRenderableMap".
So it is the same problem as a few pointed out :
https://www.ogre3d.org/forums/viewtopic.php?f=1&t=40839
(there are other topics)

I have 2 scene managers, and I can't change some elements of a textureunit without getting the assert.

Unfortunatelly, the method described in the quoted topic did not succed to resolve the problem for me (even if I "iterates through every scene manager, gets its render queue and clears it using clear(true) and then call processPendingPassUpdates." i get the assert).

So I would appreciate even an 'unclean' method that at-least work ... Or documentation about what happens, in order to try a solution.
What I currently understand is only :
1/ there is a renderqueue per scenemanager.
2/ there is an iteration though the renderqueue, and things get drawn.
So there is a big gap in my knowledge... any explanation would be welcome. If I understand what is the problem, I can work to propose a solution.

Pierre
0 x
Tutorials + Ogre searchable API + more for Ogre1.7 : http://sourceforge.net/projects/so3dtools/
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0

Post Reply