Thread: worldToScreen??
View Single Post
  #3  
Old 07-21-2010, 12:58 AM
malte malte is offline
Member
 
Join Date: Feb 2008
Posts: 7
Thanks for the quick reply.

That is pretty much what I expected.

I was confused because I did in some cases get negative values for distance (when object is behind the virtual camera) but values between 0 and 1 for both screen coordinates as if the object was within the viewing frustum.

Should I just ignore all situations in which either the distance is negative or any of the two screen-coordinates is not within the range of 0-1?

Thanks again,
malte
Reply With Quote