网格曲面的数据结构
Uses of Mesh Data:跳过
Storing Mesh Data:跳过
Define a Mesh:跳过
3D Mesh Surface
- Surface & material properties
• Material color
• Ambient, hightlight coefficients
• Texture coordinates
• BRDF, BTF - Rendering properties
• Lighting
• Normals
• Rendering modes
General Used Mesh Files
- General used mesh files
• Wavefront OBJ ( *. obj)
• 3D Max ( *. max, *. 3ds)
• VRML ( *. vrl)
• Inventor ( *. iv)
• PLY ( *. ply, *. ply2)
• Py mesh lab
• User‐defined ( *. m, *. liu) - Storage
• Text – (Recommended)
• Binary
Wavefront OBJ File Format
- Vertices
• Start with char ‘v’
• (x,y,z) coordinates - Faces
• Start with char ‘f’
• Indices of its vertices in the file - Other properties
• Normal, texture coordinates, material, etc.
本文出自CaterpillarStudyGroup,转载请注明出处。 https://caterpillarstudygroup.github.io/GAMES102_mdbook/