Michael Jones (mtj++at++babar)
Wed, 28 Dec 1994 10:48:45 -0800
:I am trying to implement an intersection callback function (using the
:pfSegsIsectNode function) to avoid jumping on bridges, trees or whatever
:while driving on my terrain.
An even easier method is available to you. Change the intersection
search vector geometry. Right now, the default mechanism is to
send a vector down toward the eyepoint from way up in the air
(I think its 25000 meters). Just change this to be downward from a
few inches or feet above the last intersection result and you'll be
OK in most situations.
Alternately, you can get back all the results, and take the closest one
to the last intersection.
--Be seeing you, Phone:415.390.1455 Fax:415.390.2658 M/S:8U-590 Michael T. Jones Silicon Graphics, Advanced Graphics Division mtj++at++sgi.com 2011 N. Shoreline Blvd., Mtn. View, CA 94039-7311
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:46 PDT