mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-01 03:12:49 +08:00
Summary: When the ply format looks as follows: ``` comment TextureFile ***.png element vertex 892 property double x property double y property double z property double nx property double ny property double nz property double texture_u property double texture_v ``` `MeshPlyFormat` class will read uv from the ply file and read the uv map as commented as TextureFile. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1100 Reviewed By: MichaelRamamonjisoa Differential Revision: D50885176 Pulled By: bottler fbshipit-source-id: be75b1ec9a17a1ed87dbcf846a9072ea967aec37
29 lines
463 B
Plaintext
29 lines
463 B
Plaintext
ply
|
|
format ascii 1.0
|
|
comment made by Greg Turk
|
|
comment this file is a cube
|
|
comment TextureFile test_nd_sphere.png
|
|
element vertex 8
|
|
property float x
|
|
property float y
|
|
property float z
|
|
property float texture_u
|
|
property float texture_v
|
|
element face 6
|
|
property list uchar int vertex_index
|
|
end_header
|
|
0 0 0 0 0
|
|
0 0 1 0.2 0.3
|
|
0 1 1 0.2 0.3
|
|
0 1 0 0.2 0.3
|
|
1 0 0 0.2 0.3
|
|
1 0 1 0.2 0.3
|
|
1 1 1 0.2 0.3
|
|
1 1 0 0.4 0.5
|
|
4 0 1 2 3
|
|
4 7 6 5 4
|
|
4 0 4 5 1
|
|
4 1 5 6 2
|
|
4 2 6 7 3
|
|
4 3 7 4 0
|