Drawing a Node infront of a QUEUE_ORTHO node

Hi, well my problem is the following:



I have a node with two childs, one in QUEUE_ORTHO and one normal.

In the normal a model is renderd, while the other just has a screensized quad.



Now i want to see the model in front of the Quad, how can I do this?



If anyone want I can post the code, however I think this is just a know how to question.

By default QUEUE_ORTHO will be drawn after everything else, so you have to seperate the normal spatial from the ortho spatial and control their drawing. You draw the ortho one first, then you flush all render commands and clear the z buffer (since an ortho spatial is considered as close to the camera as you can get), this is the order of calls:

renderer.draw(orthoSpatial);

renderer.renderQueue();

renderer.clearZBuffer();

renderer.draw(normalSpatial);