Hi,
I need to get the position and rotation from a view projection matrix.
Anyone here can help me please ?
In advance thanks
Get position/rotation from projection matrix
Re: Get position/rotation from projection matrix
Can you describe what exactly you are trying to do? Are you trying to get back to a 3D position from a bitmap/depthmap on screen? And what does rotation mean in that regard?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
Re: Get position/rotation from projection matrix
I get a projection matrix from Oculus SDK to send this matrix to the Irrlicht camera Eyes for render texture for Left Eye and Right Eye.
My render work perfect except Irrlicht doesn't calculate the Lod for the terrain and there is a problem with the frustum culling with my Object.
I think this is because the Irrlicht camera Eyes is not update correctly because I don't send position and rotation ?
Maybe Im wrong ?
Thanks for your help
My render work perfect except Irrlicht doesn't calculate the Lod for the terrain and there is a problem with the frustum culling with my Object.
I think this is because the Irrlicht camera Eyes is not update correctly because I don't send position and rotation ?
Maybe Im wrong ?
Thanks for your help