projectToScreen doesnt return normalized coordinat

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,

From which library this ViewVolume.projectToScreen ? This is not OpenGL.

It is from Open Inventor.

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?