EDGELIB doesn't change the perspective matrix unless you're calling ClassEDisplay::Perspective2D or ClassEDisplay::Perspective3D. Perhaps you're setting a 2D perspective to show text or HUD elements?
Yes i am using perspective 3d and perspective 2d calls as i need to render hud, gui and stuff.. so how to handle the frustrum culling?? and why wont the display->frustrum call work perfectly??
another question what does exactly the perspective 3d function do?? perspective 2d is just changing the mode to glOrtho2d i think, but i dont understand exactly what perspective 3d is doing..
Perspective2D and perspective3D are wrappers for glOrtho and glFrustum respectively. Perhaps you need to enable frustum culling through a glEnable call?
Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum