Frustum question

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
User avatar
NeoPain
Halfling
Posts: 42
Joined: Fri Mar 18, 2005 9:24 pm
Location: Ukraine, Uzhgorod
Contact:

Frustum question

Post by NeoPain »

How to check if object is visible(not the OCCLUSION CULLING) but checking if object is the camera frustum or not?

jonnii
Halfling
Posts: 81
Joined: Sat Jun 19, 2004 1:10 am

Post by jonnii »

this is already done for you...

if you want to know how it's done you see if the bounding box of the object is on the outside of any frustrum planes.

User avatar
NeoPain
Halfling
Posts: 42
Joined: Fri Mar 18, 2005 9:24 pm
Location: Ukraine, Uzhgorod
Contact:

Post by NeoPain »

I meant to ask how can i can check wheter object is culled by octree or is it rendered?

guts
Gnoblar
Posts: 24
Joined: Thu Oct 28, 2004 3:18 pm

Post by guts »

AFAIK not possible, but you could test for yourself again....

User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
x 4
Contact:

Post by tuan kuranes »

There's a isVisible() method that gives just that on nodes or/and entity check API doc.

Post Reply