gmum / points2nerf

Points2NeRF
70 stars 10 forks source link

render.py get black image #5

Closed perisage closed 1 year ago

perisage commented 1 year ago

Thanks for the amazing work!

I have two questoins:

  1. I got black images when using render.py to render shapenet data. The image is shown as below:

image_0

  1. There is no depth map file output. the only files I got are black images.

my environment: OS: Ubuntu18.04 Blender: 3.3

Do you know what's wrong with it? Thanks!

perisage commented 1 year ago

The first problem is caused by blender version. Downgrading blender to the 2.93LTS version solved the problem. But still no depth file output. Can anybody help? Thanks!

Ideefixze commented 1 year ago

Hi,

we didn't generate depth images since they are not needed for training. However, if you still need it for any other reason try to check source codes we found helpful: https://github.com/panmari/stanford-shapenet-renderer/blob/master/render_blender.py

https://github.com/bmild (render scripts are in blender files named blend_files.zip from dataset, you can see the code in blender scripts)

perisage commented 1 year ago

ou can see the code in blender scripts

Got it, Thanks!