Obj file format
Download
1 / 5

OBJ File Format - PowerPoint PPT Presentation


  • 386 Views
  • Uploaded on

OBJ File Format. 2005/10/03. OBJ File Format. A text file format First character of each line specifies the type of command #: just some comment ex: # 1760 vertices v: vertex ’ s geometric position (float) ex: v 5.942016 -1.063428 1.664500. OBJ File Format (Cont.).

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'OBJ File Format' - abdalla


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Obj file format

OBJ File Format

2005/10/03


Obj file format1
OBJ File Format

  • A text file format

  • First character of each line specifies the type of command

  • #: just some commentex: # 1760 vertices

  • v: vertex’s geometric position(float)ex: v 5.942016 -1.063428 1.664500


Obj file format cont
OBJ File Format (Cont.)

  • vt: texture coordinate (float from 0~1)ex: vt 0.563604 0.419808

  • vn: normal vector (float)ex: vn 0.124368 -0.300959 0.945493

  • f: polygonal face (int)f int int int …f int/int int/int int/int …


Obj file format cont1
OBJ File Format (Cont.)

  • f int/int/int int/int/int …ex: f 1 2 3 4f 1/1/1 2/2/2 3/3/3 4/4/4f 1//1 2//2 3//3 4//4

  • Must be flat and convex


Obj file format cont2
OBJ File Format (Cont.)

  • g: group nameex: g body

  • usemtl: name a material to useex: usemtl black

  • s: group numberex: s 4


ad