monniert/differentiable-blocksworld

About exporting results to mesh

tyhuang0428 opened this issue · 2 comments

Hi, thank you for sharing your great work!
I notice that your method can successfully decompose scenes into primitive 3D meshes, which is really cool. Since I only found logging codes for image/video rendering, I would like to know whether inference results can be exported as mesh files. If so, could you also share these mesh files with us?
Thank you very much!

Hi tyhuang0428, thanks for the reaching out!

Yes results are exported as a single obj file at the end of the optimisation (here using this function). It is quite straightforward to adapt this function to save one obj file for each primitive to import distinct elements in computer graphics engine for physical simulations (let me know if you don't see how to do it, I could add the function in the code)

Sharing mesh files was not planned as you can get yours in a couple of hours, but I can find a place to add them somewhere if you think it is necessary