Baseline .obj
format parser:
vertex coordinates + trianglular faces
Static methods
staticfromFile(path:String):Mesh
Read mesh directly from an .obj
file on disk
(only available with target languages with filesystem access)
Parameters:
path | the file path |
---|
Returns:
the mesh
See also:
staticfromString(str:String):Mesh
Read mesh from a string containing the .obj
encoding.
Ignores texcoords (not useful),
ignores normals (should be computed by Mesh.computeNormals()
)
Parameters:
path | the file path |
---|
Returns:
the mesh