.com
To: nuke-python@support.thefoundry.co.uk
Date: 04.11.2012 02:19:14
Subject: Re: [Nuke-python] Projection matrix question
> Hi Patrick,
>
> If I understand your question correctly, you'll want to follow these steps:
>
> 1. un-project your 2D coord into 3D space (using cam proje
Hi Patrick,
If I understand your question correctly, you'll want to follow these steps:
1. un-project your 2D coord into 3D space (using cam projection matrix)
2. divide the resulting vector by its 4th component (w coordinate)
3. Scale the vector so that its Z == -depth_sample
4. Apply camera tra
Hi everyone,
I'm trying to project a point from a deep image back to 3d space. I'm currently
taking the camera projection matrix, inverting it and multiplying it with a
Vector 4 {pixelX*deep,pixelY*deep,deep,deep}.
However this doesn't give me the exact position.
When projecting from 3d to 2d t