= OBJ Importer = [[ArchivePage]] == Resources == * [http://www.csit.fsu.edu/~burkardt/data/obj/cube.obj cube.obj] a simple example * [http://www.robthebloke.org/source/obj.html obj fileformat] (short) * [http://www.martinreddy.net/gfx/3d/OBJ.spec obj fileformat] (long) == Overview == You can find the source of this module [source:orxonox.OLD/trunk/src/lib/graphics/importer/ here]. Main module is: * [source:orxonox.OLD/trunk/src/lib/graphics/importer/obj/objModel.h objModel] - the importer itself * [source:orxonox.OLD/trunk/src/lib/graphics/importer/static_model.h StaticModel] - base class for this importer == Features == Our implementatoin of the obj model format supports following tags: === OBJ === The actual object information '''Vertex Data''' || v || vertices || || vn || vertex normal || || vt || vertex texture coordinate || '''Elements''' || f || faces || '''Display/render attributes''' || mtllib || material library || || usemtl || material library name || === MTL === Material information || illum || setting illumination || || Kd || setting diffuse color || || Ka || setting ambient color || || Ks || setting specular color || || Ns || setting shininess || || d || setting transluency || || Tf || setting transparency || || map_Kd || diffuse map (texture) || || map_Ka || ambient map (texture) || || map_Ks || speciular map (texture) || || bump || bump map (not implemented yet) ||