nv-tlabs / LION

Latent Point Diffusion Models for 3D Shape Generation
Other
735 stars 57 forks source link

Visualization #27

Closed zhang-yunfan closed 1 year ago

zhang-yunfan commented 1 year ago

Thanks for the impressive work. May I check with you how to generate the 3D visualization of the voxel shape and what about the point cloud shapes?

ZENGXH commented 1 year ago

I add the rendering code here: for point cloud utils/render_mitsuba_pc.py (modified from https://github.com/zekunhao1995/PointFlowRenderer) and for voxel utils/render_voxel_cubes.py (this one is basically hacking the mitsuba renderer a bit by putting a lot of voxels)

JohanYe commented 10 months ago

@ZENGXH I'm looking at the rendering code. In utils/render_mitsuba_pc.py and utils/_render_voxel_cubes.py they both call the function main. However no function such function is defined. Am i missing something mitsuba specific or is there a mistake?

ZENGXH commented 10 months ago

@JohanYe sorry for the confusion. You could check the function here, I am not calling the two scripts directly (so there is no main func, I just import it's plot function.