Render queue problem with PLSM2

Jules Robichaud Gagnon

19-06-2008 16:24:02

Hello everyone,

We just moved recently to PLSM2 and we have a little renderqueue problem.

Earlier we were using a big mesh in renderqueue 25 and it was looking like this :



With PLSM2 we have a renderqueue problem since we can see through the ground.

I called the setWorldGeometryRenderQueue() to 25 ( even thought it was already set to this by default) and it did not change anything.




As reference, I put the old mesh as pink to see the difference:




Any idea of what could cause the problem?

Thank you.

Jules Robichaud Gagnon

04-07-2008 11:39:24

I found the problem, in PagingLandScapeRenderable::_updateRenderQueue(RenderQueue* queue)

It was calling:

queue->addRenderable(this);


Instead of :

queue->addRenderable(this, mRenderQueueID);


The renderqueue value was not used at all.

tuan kuranes

04-07-2008 13:27:05

Fixed in SVN, thanks !