This function reads a OBJ file, which a file format that is commonly used in 3D graphics applications. It does not represent text, but does represent points, lines, polygons.
Path to an OBJ file
boolean, construct tri-mesh? the default is TRUE
a named list with items
each containing sublists with one entry
per object (shapes) or material (materials).
Objects in the
shapes list have the following structure
positions 3xN set of 3D vertices
normals 3xN set of normal directions for each vertex (has 3 rows and 0 cols when normals are not available)
texcoords vector containing unprocessed texture coordinates
indices 3/4xM set of indices into vertex array (trimesh/quadmesh) 0-indexed
material_ids (0-indexed, -1 when not set)
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.