-
-
Notifications
You must be signed in to change notification settings - Fork 17
OBJJSON Information
CalmBit edited this page Aug 19, 2020
·
2 revisions
-
bounds
is an array of doubles containing 6 values used to determine the bounding box of the model. -
boxes
is a 2D array containing collision boxes for the model, each entry is formatted the same way as bounds. -
faces
gets more complicated, each entry in the faces array contains data to create triangles on a given face.
-
texture
specifies the texture to use for the face, just says whether or not it uses cladding. -
vertices
specifies a list of vertices available to draw for the face, this includes the normals and uvs. -
triangles
specifies a list of indexes in vertices to use to create a triangle.