I need papers: 2d screen coordinates to 3d coordinate

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
Post Reply
compvis
Gremlin
Posts: 165
Joined: Wed Sep 10, 2008 6:14 am

I need papers: 2d screen coordinates to 3d coordinate

Post by compvis »

Hi,

Do you know the papers that describe the ­way to convert 2d screen coordinates to 3d coordinates ? These papers is purely mathematics, ( not DirectX, OpenGl or any engine else)

Please share me or point me to links, thank you so much !
User avatar
areay
Bugbear
Posts: 819
Joined: Wed May 05, 2010 4:59 am
Location: Auckland, NZ
x 69

Re: I need papers: 2d screen coordinates to 3d coordinate

Post by areay »

Hi there, here's the Ogre way of doing things.

I know you wanted a mathematical explanation but you should be able to deduce the formula easily from the example.

http://www.ogre3d.org/tikiwiki/Projecti ... e=Cookbook
Dynamito
Gnoblar
Posts: 3
Joined: Sun Jul 18, 2010 5:15 pm
x 2

Re: I need papers: 2d screen coordinates to 3d coordinate

Post by Dynamito »

Hi,

You can find it in Rayscenequery, and also the inverse (3D point to screen 2D coords) can be found in the sdkTray from the 1.7 demos.
Post Reply