Skip to content

Commit

Permalink
Tutorials textures updates and fix bug in extending meshes with uv te…
Browse files Browse the repository at this point in the history
…xtures

Summary:
Found a bug in extending textures with vertex uv coordinates. This was due to the padded -> list conversion of vertex uv coordinates i.e.                 The number of vertices in the mesh and in verts_uvs can differ
e.g. if a vertex is shared between 3 faces, it can
have up to 3 different uv coordinates. Therefore we cannot convert directly from padded to list using _num_verts_per_mesh

Reviewed By: bottler

Differential Revision: D23233595

fbshipit-source-id: 0c66d15baae697ead0bdc384f74c27d4c6539fc9
  • Loading branch information
nikhilaravi authored and facebook-github-bot committed Aug 22, 2020
1 parent d330765 commit 90f6a00
Show file tree
Hide file tree
Showing 4 changed files with 957 additions and 944 deletions.
Loading

0 comments on commit 90f6a00

Please sign in to comment.