mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Summary: Fix for GitHub issue #381. The example mesh provided in the issue only had material properties but no texture image. The current implementation of texture atlassing generated an atlas using both the material properties and the texture image but only worked if there was a texture image and associated vertex uv coordinates. I have now modified the texture atlas creation so that it doesn't require an image and can work with materials which only have material properties. Reviewed By: gkioxari Differential Revision: D24153068 fbshipit-source-id: 63e9d325db09a84b336b83369d5342ce588a9932
8 lines
142 B
Plaintext
8 lines
142 B
Plaintext
# Material Count: 1
|
|
|
|
newmtl material_1
|
|
Ns 96.078431
|
|
Ka 0.000000 0.000000 0.000000
|
|
Kd 0.500000 0.000000 0.000000
|
|
Ks 0.500000 0.500000 0.500000
|