var searchIndex = {}; searchIndex["wavefront_obj"] = {"doc":"Parsers for wavefront's `.obj` and `.mtl` file format for loading meshes.","items":[[3,"ParseError","wavefront_obj","A parsing error, with location information.",null,null],[12,"line_number","","The line of input the error is on.",0,null],[12,"message","","The error message.",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"fmt","","",0,null],[0,"mtl","","A parser for Wavefront's `.mtl` file format, for storing information about\nthe material of which a 3D mesh is composed.",null,null],[3,"ParseError","wavefront_obj::mtl","A parsing error, with location information.",null,null],[12,"line_number","","The line of input the error is on.",0,null],[12,"message","","The error message.",0,null],[3,"MtlSet","","A set of materials in one `.mtl` file.",null,null],[12,"materials","","",1,null],[3,"Material","","A single material that can be applied to any face. They are generally\napplied by using the Phong shading model.",null,null],[12,"name","","",2,null],[12,"specular_coefficient","","",2,null],[12,"color_ambient","","",2,null],[12,"color_diffuse","","",2,null],[12,"color_specular","","",2,null],[12,"optical_density","","",2,null],[12,"alpha","","",2,null],[12,"illumination","","",2,null],[12,"uv_map","","",2,null],[3,"Color","","",null,null],[12,"r","","",3,null],[12,"g","","",3,null],[12,"b","","",3,null],[4,"Illumination","","How a given material is supposed to be illuminated.",null,null],[13,"Ambient","","",4,null],[13,"AmbientDiffuse","","",4,null],[13,"AmbientDiffuseSpecular","","",4,null],[5,"parse","","Parses a wavefront `.mtl` file, returning either the successfully parsed\nfile, or an error. Support in this parser for the full file format is\nbest-effort and realistically I will only end up supporting the subset\nof the file format which falls under the "shit I see exported from blender"\ncategory.",null,{"inputs":[{"name":"string"}],"output":{"name":"result"}}],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"partial_cmp","","",4,null],[11,"cmp","","",4,null],[11,"eq","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"eq","","",3,null],[11,"partial_cmp","","",3,null],[11,"eq","","",2,null],[11,"partial_cmp","","",2,null],[0,"obj","wavefront_obj","A parser for Wavefront's `.obj` file format for storing 3D meshes.",null,null],[3,"ObjSet","wavefront_obj::obj","A set of objects, as listed in an `.obj` file.",null,null],[12,"material_library","","Which material library to use.",5,null],[12,"objects","","The set of objects.",5,null],[3,"Object","","A mesh object.",null,null],[12,"name","","A human-readable name for this object. This can be set in blender.",6,null],[12,"vertices","","The set of vertices this object is composed of. These are referenced\nby index in `faces`.",6,null],[12,"tex_vertices","","The set of texture vertices referenced by this object. The actual\nvertices are indexed by the second element in a `VTNIndex`.",6,null],[12,"normals","","The set of normals referenced by this object. This are are referenced\nby the third element in a `VTNIndex`.",6,null],[12,"geometry","","A set of shapes (with materials applied to them) of which this object is\ncomposed.",6,null],[3,"Geometry","","A set of shapes, all using the given material.",null,null],[12,"material_name","","A reference to the material to apply to this geometry.",7,null],[12,"smooth_shading_group","","Should we use smooth shading when rendering this?",7,null],[12,"shapes","","The shapes of which this geometry is composed.",7,null],[3,"Vertex","","A single 3-dimensional point on the corner of an object.",null,null],[12,"x","","",8,null],[12,"y","","",8,null],[12,"z","","",8,null],[3,"TVertex","","A single 2-dimensional point on a texture. "Texure Vertex".",null,null],[12,"x","","",9,null],[12,"y","","",9,null],[4,"Shape","","The various shapes supported by this library.",null,null],[13,"Point","","A point specified by its position.",10,null],[13,"Line","","A line specified by its endpoints.",10,null],[13,"Triangle","","A triangle specified by its three vertices.",10,null],[5,"parse","","Parses a wavefront `.obj` file, returning either the successfully parsed\nfile, or an error. Support in this parser for the full file format is\nbest-effort and realistically I will only end up supporting the subset\nof the file format which falls under the "things I see exported from blender"\ncategory.",null,{"inputs":[{"name":"string"}],"output":{"name":"result"}}],[6,"Normal","","A single 3-dimensional normal",null,null],[6,"VertexIndex","","An index into the `vertices` array of an object, representing a vertex in\nthe mesh. After parsing, this is guaranteed to be a valid index into the\narray, so unchecked indexing may be used.",null,null],[6,"TextureIndex","","An index into the `texture vertex` array of an object.",null,null],[6,"NormalIndex","","An index into the `normals` array of an object.",null,null],[6,"VTNIndex","","An index into the vertex array, with an optional index into the texture\narray. This is used to define the corners of shapes which may or may not\nbe textured.",null,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"fmt","","",6,null],[11,"clone","","",6,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"fmt","","",7,null],[11,"clone","","",7,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"hash","","",10,null],[11,"fmt","","",10,null],[11,"clone","","",10,null],[11,"fmt","","",8,null],[11,"clone","","",8,null],[11,"fmt","","",9,null],[11,"clone","","",9,null],[11,"eq","","",8,null],[11,"partial_cmp","","",8,null],[11,"eq","","",9,null],[11,"partial_cmp","","",9,null]],"paths":[[3,"ParseError"],[3,"MtlSet"],[3,"Material"],[3,"Color"],[4,"Illumination"],[3,"ObjSet"],[3,"Object"],[3,"Geometry"],[3,"Vertex"],[3,"TVertex"],[4,"Shape"]]}; initSearch(searchIndex);