Thursday, March 19, 2009

Ogre Render Queue

A physical Engine

http://www.box2d.org/index.html

 

To use CEGUI in Ogre, I followed the tutorial in the wiki and added the gui to my existing code. However, I found that my drawing code draw twice!!!!!

One is drawn on the whole window and the other is draw as I desired in the gui frame window.

For two days searching on line, found nothing help.

I just comment everything and test every code part. Finally I found that both the gui and my drawing objects are in the RENDER_QUEUE_OVERLAY.

That's the problem!!!!!

By changing my drawing objects to RENDERE_WORLD_GEOMETRY_1, everything works well!!!!!!

Thank goodness!!!

No comments:

Post a Comment

Google+