Re: [Plib-users] ssgLOS function - how ?
Brought to you by:
sjbaker
From: <Rol...@t-...> - 2002-07-09 19:59:07
|
On Sunday 07 July 2002 14:58, Rolf Jakob wrote: > On Sunday 07 July 2002 06:03, ha...@sl... wrote: > > 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. > > Oh, thanks, that would explain the effect. I'll give the CVS version a try. > Ok, the CVS version shows a different effect, but still not exactly what I need. The documentation says : "ssgLOS intersects an arbitary vector whose direction is defined by 's'. " So I defined a vector with length 1.0 pointing to the direction according to the camera angle. It comes up with intersections very near to the camera. After multiplying it with 10.0 it intersects with objects farther away, but it will miss the ones directly in front of me. It seems the length of the "direction vector" matters, but it looks like it's more an intersection of a point rather than a line starting from the camera with a specified or infinite length. Is there an example for the usage of ssgLOS ? Thanks, Rolf -- Rolf Jakob at home (rj...@du...) WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS) |