amalgamate meshes with texture into a single scene
Summary: Add a join_scene method to all the textures to allow the join_mesh function to include textures. Rename the join_mesh function to join_meshes_as_scene. For TexturesAtlas, we now interpolate if the user attempts to have the resolution vary across the batch. This doesn't look great if the resolution is already very low. For TexturesUV, a rectangle packing function is required, this does something simple. Reviewed By: gkioxari Differential Revision: D23188773 fbshipit-source-id: c013db061a04076e13e90ccc168a7913e933a9c5
BIN
tests/data/test_joinatlas_final.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
tests/data/test_joinuvs0_final.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
tests/data/test_joinuvs0_map.png
Normal file
|
After Width: | Height: | Size: 807 B |
BIN
tests/data/test_joinuvs1_final.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
tests/data/test_joinuvs1_map.png
Normal file
|
After Width: | Height: | Size: 819 B |
BIN
tests/data/test_joinuvs2_final.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
tests/data/test_joinuvs2_map.png
Normal file
|
After Width: | Height: | Size: 806 B |
BIN
tests/data/test_joinverts_final.png
Normal file
|
After Width: | Height: | Size: 11 KiB |