• Nikhila Ravi's avatar
    Fix texture atlas for objs which only have material properties · f5383a7e
    Nikhila Ravi authored
    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
    f5383a7e
model.mtl 142 Bytes