Task is simple: My viewport size is 640x480. I need to get an exact 2D screen coordinates of certain point in 3D, but projected onto 1280x960 viewport.
Additional info:
- Simply multiplying coordinates by 2 is not an answer - I need precise coordinates.
- Making viewport any larger is not acceptable due to my GUI desing.
- I get screen coordinates of a point using getSceneCollisionManager()->getScreenCoordinatesFrom3DPosition(vector3df(...)...)
- If this will be another viewport, but larger, it must be invisible
- My program is similar to this example http://irrlicht.sourceforge.net/docu/example014.html, I mean it`s very simple and straightforward.
- No fullscreen.
Thanks in advance. Glad to hear any ideas