Focal Stacks

From Immersive Visualization Lab Wiki
Revision as of 20:40, 18 May 2013 by Jschulze (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OBJ Files

Requirements for OBJ files for CalVR to display:

  • Material library file needs to be specified with full path and extension, e.g.: mtllib /home/jschulze/sio/coral-mtl.mtl.
  • To use a texture image (image map) use the command usemtl, not usemap. Example: usemtl coral-material. This is for material file coral-mtl.mtl, which has the following content:
  newmtl coral-material
  map_Kd coral-map.jpg
  • The image referenced by the material file in this example is coral-map.jpg.