octree-nn / octformer

OctFormer: Octree-based Transformers for 3D Point Clouds
MIT License
259 stars 18 forks source link

Visualization #28

Closed windboy6 closed 4 months ago

windboy6 commented 4 months ago

Hello, I would like to know how to visualize sparse voxels, do you have any suggestions? Thanks.

wang-ps commented 4 months ago

One possible solution is to get the coordinates of octree nodes in each octree depth, with which each octree can be drawn as a 3D cube. The following function can be used to get the coordinates. https://ocnn-pytorch.readthedocs.io/en/latest/modules/octree.html#ocnn.octree.Octree.xyzb