2K2K icon indicating copy to clipboard operation
2K2K copied to clipboard

What's the camera params

Open yuchenli-sony opened this issue 10 months ago • 3 comments

yuchenli-sony avatar Apr 07 '25 09:04 yuchenli-sony

I didn't understand the question properly. If you are looking for where to set camera parameters when rendering a mesh, please refer to the code below. However, this code rendered by rotating the mesh without changing the camera parameters.

https://github.com/SangHunHan92/2K2K/blob/8f5d78938d2976f2bec4ed15942f586fbaea7875/render/render_utils.py#L170

SangHunHan92 avatar Apr 07 '25 09:04 SangHunHan92

Thank you for your responses, I mean How to Get Camera Intrinsics and Extrinsics, and how to Project SMPL-X Vertices to Image Space

yuchenli-sony avatar Apr 14 '25 14:04 yuchenli-sony

If you use trimesh like my code, you can change extrinsic through angles, center, and distance in 170 lines, and change intrinsic through resolution and fov.

ICON and ECON also provide renderers through opengl, so it would be good to refer to them.

SangHunHan92 avatar Apr 16 '25 05:04 SangHunHan92