Open HtutLynn opened 1 year ago
Cuda objects are tensor (.t
) objects you have to convert them back to .geometry which are .cpu
objects. To do so call the .to_legacy()
of your cuda type TriangleMesh before passing to visualization.O3DVisualizer
. If you need to bring legacy geometry.TriangleMesh
to cuda/tensor than you have to use t.geometry.TriangleMesh.from_legacy()
function which is the opposite of .to_legacy()
method.
Checklist
master
branch).My Question
Hi, I am trying to visualize a camera pose in 3D pointcloud in Open3D by using
open3d.visualization.O3DVisualizer
andimport open3d.visualization.gui
. A camera pose is created by using this function,I am trying to visualize the trianglemesh from this function in
But I am getting this error,
Previously, I was using
open3d.visualization.Visualizer
api to visualize this trianglemesh model by usingadd_geometry
method and it is okay but if I switchopen3d.visualization.O3DVisualizer
, this error happens.The camera pose trianglemesh that I want to visualize is something like this:
Thank you for the help in advance!