Hi Thomas,

On Thu, 2006-02-09 at 11:59 +0100, Thomas Beer wrote:
> I have some problems with the Camera::calcViewRay method:
> the documentation says:
> 
> /*! Calculate a ray that starts at the camera position and goes through the
> pixel \a x, \a y in the viewport \a port. \a x and \a y are relative to the
> **viewport's** upper left corner.
> */
> 
> But in the code, the coordinates are translated from window to viewport 
> coordinates, AFAI understand the code. Am I getting something wrong or 
> DOES the method expect window-coordinates?

hm, where do you see that? In my OSGCamera.cpp only the port coordinates
are used.

        Dirk




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to