> Is there a way of determining whether an object is within the viewing
> frustum?
One thing I've done in the past is used screen.inc to create a "screen
plane" - a flat box in front of the camera. Then, by using trace() with this
screen plane from a point to the camera's position, I can determine if the
point is within the camera's viewing frustrum by whether the object is
intersected or not.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|