lukasHoel / text2room

Text2Room generates textured 3D meshes from a given text prompt using 2D text-to-image models (ICCV2023).
https://lukashoel.github.io/text-to-room/
MIT License
1.02k stars 71 forks source link

Question of transformation of coordinates #6

Closed wqdong8 closed 1 year ago

wqdong8 commented 1 year ago

Hello, this is a very meaningful work! But I have some problems with the transformation of the coordinate system in "convert_to_nerf_convention.py". Which is the up vector in the world coordinate system? What is the meaning of the zxy_to_xyz matrix name in the convert_pose_from_nerf_convention function? Thanks.

lukasHoel commented 1 year ago

Hey,

the purpose of convert_to_nerf_convetion.py is to transform world-to-cam matrices in the Pytorch3D convention to cam-to-world matrices in the standard NeRF convention and vice-versa.

Maybe if you give a more concrete example what does not work for you, I could help you figure it out. But these are the general comments about the methods.