The returned models can be rendered using indexedTriangles from WebGL.
WebGL.indexedTriangles mesh.vertices mesh.indicesAll these methods take an URL as the first parameter.
Use the methods from here if you know whats in your file and if they only contain a single object with a single material. These are just provided for convenience.
Load a model with texture coordinates.
Load a model with texture coordinate and calculate vertex tangents. This is needed if you want to do tangent space normal mapping.
Use these methods if you don't know what kind of files you'll get or if your files contain multiple groups or materials.
Load a .obj file from an URL
loadObjFile url ObjFileLoadedwithTangents : If true, vertex tangents will be calculated for meshes with texture coordinates. This is needed if you want to do tangent space normal mapping.
Same as loadObjFile, but works on a string.
Load a model that doesn't have texture coordinates.