[info-performer] ray intersection

Date view Thread view Subject view Author view

From: Denis Mohnhaupt (demohn++at++gmx.de)
Date: 04/13/2005 04:37:20


hello,

i have an application with self-generated terrain (vertex values are in
world coordinates, no transformations) and want to place objects on it. so i
have to do a ray intersection, where the user point's with the mouse, to
achieve the exact point of the intersection.

i found out, that i can achieve this by
pfHit ** pfvPicker::getPickList();

so i get the pointer to an array of hit objects
the first (and actual only) entry is my nearest hit, and thus the thing i
want. pfHit has a member "pfVec3 point;" but it is protected.
there are no methods to read out it's value, so how can i access this
information?

thanks in advance
Denis

-- 
+++ GMX - Die erste Adresse für Mail, Message, More +++

1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Apr 13 2005 - 04:37:34 PDT