|
Easy3D 3.0.0
|
Tessellated geometry and material properties for one OBJ material group. More...
#include <obj_materials.h>
Public Attributes | |
| std::string | name |
| Material/group name used when creating the drawable. | |
| vec3 | diffuse = vec3(1) |
| Diffuse color, defaulting to white. | |
| std::string | texture_file |
| Diffuse texture path; empty if no usable map or face UVs are available. | |
| std::vector< vec3 > | positions |
| Tessellated vertex positions. | |
| std::vector< vec3 > | normals |
| std::vector< vec2 > | texcoords |
| Tessellated vertex texture coordinates. | |
| std::vector< unsigned int > | indices |
| Triangle indices into the vertex arrays. | |
| std::vector< int > | source_faces |
| Source mesh face ID for each tessellated triangle. | |
Tessellated geometry and material properties for one OBJ material group.
| std::vector<vec3> normals |
Tessellated vertex normals.