View Full Version : projectToScreen doesnt return normalized coordinat

Ricardo Freitas
08-02-2010, 02:02 AM
Hi all,

I am using ViewVolume.projectToScreen from an ortographic camera to obtain the screen coordinates (normalized device coordinates - ndc) for a given point in world coordinates. The projectToScreen function is supposed to return ndc, but it simply does not. Does anybody have any suggestions or ideas?

Thanks a lot for the time and help,

08-02-2010, 02:38 AM
From which library this ViewVolume.projectToScreen ? This is not OpenGL.

Ricardo Freitas
08-02-2010, 03:37 AM
It is from Open Inventor.

08-02-2010, 03:48 PM
Screen/window/viewport-coordinates are different from NDC. Also, they are different between platforms, which is why NDC exists. I can only suggest to check with Open Inventor. More specifically, how does Open Inventor treat the area that it draws to?