daniilidis-group / neural_renderer

A PyTorch port of the Neural 3D Mesh Renderer
Other
1.12k stars 248 forks source link

Fix two minor texture loading problem #9

Closed czw0078 closed 5 years ago

czw0078 commented 5 years ago

Two problems: (1) handle the situation when texture pictures have one channel(grey) or extra alpha channel(transparent). (2) .obj file with lines "f xxx//xxx". The value read in should be zero but the original code will read "/" sign and cause an error.

nkolot commented 5 years ago

Nice, I'll do some tests and merge it.