nv-tlabs / GET3D

Other
4.17k stars 374 forks source link

Transformation matrix for rendering #152

Open mazhelearn opened 7 months ago

mazhelearn commented 7 months ago

Hi! Thanks for your great work! I am trying to use this function in your code to render a view that is the same with a img from dataset. I am wondering if the parameter "camera_mv_bx4x4" is consistent with the transformation matrix (defined here) of the rendered texture image?

SteveJunGao commented 6 months ago

Hi @mazhelearn,

Unfortunately, they're different matrices. The transformation matrix defined here was only used to make it compatible with NGP.

To use the code you mentioned, you need to use this line to obtain the camera matrix.

Let me know if you have any other questions!

mazhelearn commented 6 months ago

i want to render a img that is the same with inputed img using the NeuralRender, but this line only generate a random camera matrix. image And in this function i find the details about geting "camera_mv_bx4x4". I wander what parameters is useful to get the "camera_mv_bx4x4". thank u very much. Happy new year!!!