[Virtools] 2D Picking and camera clipping planes

Subject: [Virtools] 2D Picking and camera clipping planes
From: Klaus-Jürgen Quast <quast@xxxxxxxx>
Date: Wed, 28 Jan 2004 15:02:20 +0100
the Ray Intersection BB does not take into account the near or far clipping planes of the active camera. Of course this should be the default as no user will try to interact with objects or faces of objects not visible.

Is there any workaround known to pick only faces of objects visible in the frustrum of an active perspective camera?

May be a solution is to use the Ray Intersection BB. But how to compute the Ray Origin and Ray Direction on the basis of a window relative mouse position vector (click point)?

Klaus

--

---------------------------------------------------
Dr. Klaus-Jürgen Quast
ENTEC GmbH - Agentur für neue Medien in der Medizin
Rathausallee 10
D-53757 Sankt Augustin

phone	+49 2241 92 4871
mobil	+49 170 380 4871
fax	+49 2241 92 4877

email	quast@xxxxxxxx
net	www.entec.de
---------------------------------------------------


............................................................... Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html To reply to the list instead of its author, use "Reply to All" To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@xxxxxxxxxxxxxxxxxxxxx To subscribe: send "subscribe virtools-user-group" to Majordomo@xxxxxxxxxxxxxxxxxxxxx To post a message: send it to virtools-user-group@xxxxxxxxxxxxxxxxxxxxx ...............................................................

Current Thread