View Full Version : Select objects based on camera viewing frustum
jmachete 10 October 2010, 04:13 PM Hey guys,
Any idea how I can select objects based on camera viewing Frustrum?
Ok I need to know if the object is between the far clipping plane and the near clipping plane of the camera, but how I know if the position of that object is inside the frustrum?
Cheers
Joao
|
|
bendingiscool
10 October 2010, 04:31 PM
This has been discussed a few times,
In fact I believe someone has written an API plugin for this here already, give it a search..
cheers,
Chris
EDIT:
here is something similar...
http://www.rtrowbridge.com/blog/2009/05/render-selected-meshes-region/
ManuelM
10 October 2010, 11:17 AM
on one job i had to cull all guidecurves on a furry character that were outside the camera frustum.
what i did was to extrude an object along the camera frustum and then use the rayIntersect plugin in order to determine if a point is inside that volume or not.
CGTalk Moderation
10 October 2010, 11:17 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.