-
Hi, I would like to get an RGB and depth image from a mesh(.ply) given a camera position(intrinsic(3x3), extrinsic(4x4)). How should I do it? Could any one give me a sample code? Here is my own code: mesh = o3d.io.read_triangle_mesh("/Users/wei/Downloads/scene0000_00_vh_clean.ply") camera_pose = np.array([[-0.939658,0.201161 ,-0.276724 ,2.621858], vis = o3d.visualization.Visualizer() K = np.eye(3) P = camera_pose depth = vis.capture_depth_float_buffer() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, you can check open3d |
Beta Was this translation helpful? Give feedback.
Hi, you can check open3d
o3d.visualization.rendering.OffscreenRenderer
for more detail