Re: [Plib-users] ssgLOS function - how ?
Brought to you by:
sjbaker
From: <ha...@sl...> - 2002-07-07 04:03:39
|
If I remember right, ssgLOS in the released version only calls ssgHOT. I believe this has been corrected in the CVS version of plib, however. -- Brian On Sun, 7 Jul 2002, Rolf Jakob wrote: >Hello, > >I'm out of ideas. >After successfully checking sphere intersection and height over terrain I need >to check what is in front of the camera. The program moves the camera >position in the scene, so it's a kind of first person shooter. Now I tried to >get the intersections with ssgLOS first using an ident matrix and a vector >pointing into the heading camera angle. I got intersections with the ground >and the sky. Then I set the matrix to the invers camera position relative to >the scene origin, but still the only intersections are ground and sky. I >tried with different vectors, but no success. > >Can anybody explain how to use ssgLOS, given the eye position is the camera >and you want to get a list of all objects just straight in front of you ? > >Many thanks, >Rolf > -- Brian Hayward |