nvdiffrec icon indicating copy to clipboard operation
nvdiffrec copied to clipboard

How to use my own pictures

Open Ginger-X opened this issue 2 years ago • 3 comments

Hello, I took a set of pictures and got the camera pose matrix, but don't know how to proceed, such as how to modify or generate .json files. I sincerely hope you can help me, thank you.

Ginger-X avatar Aug 21 '22 08:08 Ginger-X

Hello,

We currently do not provide detailed instructions on how to run with your own images, but it has been discussed in other issues:

https://github.com/NVlabs/nvdiffrec/issues/33 https://github.com/NVlabs/nvdiffrec/issues/31 https://github.com/NVlabs/nvdiffrec/issues/26 https://github.com/NVlabs/nvdiffrec/issues/3

jmunkberg avatar Aug 22 '22 05:08 jmunkberg

Thank you, another question I want to ask, after I get the chair.obj and texture in the out file, how to map them and get a textured model in the issac sim?

Ginger-X avatar Aug 27 '22 12:08 Ginger-X

Hello,

What 3D file format does Isaac Sim support?

This issue https://github.com/NVlabs/nvdiffrec/issues/21 describes how to map the textures to Blender's PBR material (visual shader graph example and export code), perhaps that is helpful.

For USD export, I would recommend looking at NVIDIA Kaolin, which provides a Python USD export option that likely can be adapted to nvdiffrec: https://github.com/NVIDIAGameWorks/kaolin/blob/master/kaolin/io/usd.py#L625

jmunkberg avatar Aug 29 '22 05:08 jmunkberg