[Python] camera.matrix_world Blender

Discussão em 'Python' iniciado por Stack, Fevereiro 10, 2025.

  1. Stack

    Stack Membro Participativo

    I'm a bit confused—just to clarify, the extrinsic parameters of the camera represent the transformation from world coordinates to camera coordinates, right? In Blender, I get this using camera.matrix_world, but does that give me the transformation from camera to world instead? Do I need to invert it to get the correct camera space coordinates? HELP!!

    I want to cast a ray from one camera through a specific pixel to determine where it intersects with an object in the 3D world. Once I have the intersection point, I want to project it onto a second camera’s image plane to find the corresponding pixel in that view. From this new pixel, I then want to cast another ray back onto the same object and compare the two intersection points.

    Continue reading...

Compartilhe esta Página