daniilidis-group / neural_renderer

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

Fix two minor texture loading problem #9

Closed czw0078 closed 6 years ago

czw0078 commented 6 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 6 years ago

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