I have a project with a huge cube, each side if it consists of panels.

Some of them are on the other side of the cube, so they are not visible( they are rendered and eat FPS, but not visible for the camera).

First, i thought about a trace from every panel to camera to know, if it is visible... But it isnt good idea, as i'd need as many traces, as many panels i have.

Second idea - it to calculate camera's angle... With the help of it, i increase FPS from 80 to 120-140, that depends of the visible blocks (as other sides of the cube are invisible)...

So, the question: is there a build-in(or is it possible) function for culling models, that invisble for camera?

Something like this: http://www.codesampler.com/dx9src/dx9src_7.htm#dx9_occlusion_query


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro