Obj

Obj

OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package. The file format is open and has been adopted by other 3D graphics application vendors and can be imported/exported from Cheetah3D, e-Frontier's Poser, Autodesk's Maya, Avid's Softimage|XSI, Blender, MeshLab, Misfit Model 3D, 3D Studio Max, and Rhinoceros 3D, Hexagon, Newtek Lightwave, Art of Illusion, GLC_Player etc. For the most part it is a universally accepted format.

The OBJ file format is a simple data-format that represents 3D geometry alone — namely, the position of each vertex, the texture coordinate associated with a vertex, the normal at each vertex, and the faces that make each polygon.

A typical OBJ file looks like this: # this is a comment # Here is the first vertex, with (x,y,z) coordinates. v 0.123 0.234 0.345 v ... ... #Texture coordinates vt ... ... #Normals in (x,y,z) form; normals might not be unit. vn ... .. #Each face is given by a set of indices to the vertex/texture/normal #coordinate array that precedes this. #Hence f 1/1/1 2/2/2 3/3/3 is a triangle having texture coordinates and #normals for those 3 vertices, #and having the vertex 1 from the "v" list, texture coordinate 2 from #the "vt" list, and the normal 3 from the "vn" list f v0/vt0/vn0 v1/vt1/vn1 ... f ... ...

# when there are named polygon groups or materials groups the following # tags appear in the face section, g [group name] usemtl [material name] # the latter matches the named material definitions in the external .mtl file. # each tag applies to all faces following, until another tag of the same type appears. ... ...

An OBJ file also supports smoothing parameters to allow for curved objects, and also the possibility to name groups of polygons. It also supports materials by referring to an external MTL material file.

ee also

* MeshLab is an open source Windows and Linux application for visualizing, processing and converting three dimensional meshes to or from the OBJ file format.

* GLC_Player is an Open Source software used to view 3d models in OBJ Format and to navigate easily in these models.

* 3DMLW is a markup language that shows OBJ files through common web browsers (Internet Explorer, Mozilla Firefox, Opera)

External links

* [http://local.wasp.uwa.edu.au/~pbourke/dataformats/obj/ Obj Specification]
* [http://local.wasp.uwa.edu.au/~pbourke/dataformats/mtl/ Mtl Specification]
* [http://people.scs.fsu.edu/~burkardt/data/obj/obj.html Tools, libraries and example files]
* [http://3dcodingtutorial.com/Working-with-3D-models/Importing-the-model-in-C++.html Example of how to import Obj files in C++]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • OBJ — or OBJ may refer to: Object file, an organized machine code file created by a compiler with .obj file extension Relocatable Object Module Format, an Object file for Intel microprocessors with .obj file extension Wavefront .obj file, a 3D geometry …   Wikipedia

  • OBJ — или Obj (сокр. англ. object, «объект») многозначное сокращение. Означает несколько форматов и расширений файлов, в том числе: .obj расширение объектных модулей у ряда компиляторов Wavefront OBJ формат файлов геометрии объекта, используется в …   Википедия

  • Obj — Obj, Fluß, s. Ob …   Meyers Großes Konversations-Lexikon

  • Obj — Obj, Strom, s. Ob …   Kleines Konversations-Lexikon

  • obj — abbrev. 1. object 2. objection 3. objective * * * …   Universalium

  • .obj — obj,   Dateierweiterung für eine Objektcode Datei (Objektcode) …   Universal-Lexikon

  • obj — abbrev. 1. object 2. objection 3. objective …   English World dictionary

  • Obj — У этого термина существуют и другие значения, см. OBJ. OBJ geometry format Расширение .obj MIME text/plain Разработан Wavefront Technologies Тип формата 3D model format OBJ это формат файлов описания геометрии, разработанный в Wavefront… …   Википедия

  • .OBJ — Objet 3D (format de fichier) OBJ est un format de fichier contenant la description d une géométrie 3D. Il a été défini par la société Wavefront Technologies dans le cadre du développement de son logiciel d animation Advanced Visualizer. Ce format …   Wikipédia en Français

  • OBJ — Objet 3D (format de fichier) OBJ est un format de fichier contenant la description d une géométrie 3D. Il a été défini par la société Wavefront Technologies dans le cadre du développement de son logiciel d animation Advanced Visualizer. Ce format …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”