Jeremy Reizenstein
9a50cf800e
Fix batching bug from TexturesUV packed ambiguity, other textures tidyup
...
Summary:
faces_uvs_packed and verts_uvs_packed were only used in one place and the definition of the former was ambiguous. This meant that the wrong coordinates could be used for meshes other than the first in the batch. I have therefore removed both functions and build their common result inline. Added a test that a simple batch of two meshes is rendered consistently with the rendering of each alone. This test would have failed before.
I hope this fixes https://github.com/facebookresearch/pytorch3d/issues/283 .
Some other small improvements to the textures code.
Reviewed By: nikhilaravi
Differential Revision: D23161936
fbshipit-source-id: f99b560a46f6b30262e07028b049812bc04350a7
2020-08-21 05:53:29 -07:00
..
2020-08-20 22:22:06 -07:00
2020-01-23 11:53:46 -08:00
2020-08-20 22:22:06 -07:00
2020-07-16 10:17:28 -07:00
2020-04-24 09:11:04 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-07-13 12:59:37 -07:00
2020-04-14 17:22:56 -07:00
2020-05-16 15:55:10 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-23 19:38:35 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-08-20 22:22:06 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-04-11 00:21:24 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-06-30 12:43:57 -07:00
2020-06-30 12:41:59 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-25 16:03:42 -07:00
2020-04-16 14:02:16 -07:00
2020-08-17 11:59:53 -07:00
2020-04-20 12:19:45 -07:00
2020-08-20 22:22:06 -07:00
2020-05-04 09:56:44 -07:00
2020-04-17 07:44:16 -07:00
2020-04-24 09:11:04 -07:00
2020-05-05 11:09:45 -07:00
2020-04-24 09:11:04 -07:00
2020-08-07 01:59:58 -07:00
2020-07-29 16:11:23 -07:00
2020-07-02 16:09:05 -07:00
2020-07-29 05:01:07 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-05-04 09:56:44 -07:00
2020-03-29 14:51:02 -07:00
2020-08-17 14:55:54 -07:00
2020-07-29 16:11:23 -07:00
2020-04-06 06:41:00 -07:00
2020-04-24 09:11:04 -07:00
2020-07-16 10:19:43 -07:00
2020-05-20 01:13:23 -07:00
2020-06-15 10:11:26 -07:00
2020-08-17 14:55:54 -07:00
2020-05-04 09:56:44 -07:00
2020-05-04 09:56:44 -07:00
2020-08-20 22:22:06 -07:00
2020-08-20 22:24:19 -07:00
2020-04-24 14:56:41 -07:00
2020-08-20 22:22:06 -07:00
2020-08-21 05:53:29 -07:00
2020-08-20 22:22:06 -07:00
2020-03-29 14:51:02 -07:00
2020-07-08 04:01:22 -07:00
2020-05-04 09:56:44 -07:00
2020-08-20 22:22:06 -07:00
2020-05-10 13:15:37 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-08-21 05:53:29 -07:00
2020-04-05 14:44:27 -07:00
2020-04-17 10:39:43 -07:00
2020-01-23 11:53:46 -08:00