bmild / nerf

Code release for NeRF (Neural Radiance Fields)
http://tancik.com/nerf
MIT License
9.6k stars 1.34k forks source link

Generating .json for Blender objects #78

Open yggs1401 opened 3 years ago

yggs1401 commented 3 years ago

Hello, I was wondering how can I make the .json files and generate the poses of an Blender object, like the lego one. I have an object like *.blend that I have worked on and now I want to make a dataset from it. Thank you and stay safe!

tancik commented 3 years ago

You can use this script as a starting point. You may need to make modifications for your specific blend file.

kwea123 commented 3 years ago

Alternatively, I discovered BlenderProc that allows you to generate images with set camera parameters as well. It requires more time to learn how to use it though.

KelestZ commented 2 years ago

Is this python script runnable on Blender 3.x? I am using the MacOS system with an M1 chip, and the script was just stuck: image