Focal Stacks
From Immersive Visualization Lab Wiki
OBJ Files
Requirements for OBJ files for CalVR to display:
- Material library file needs to be specified with extension, e.g.: mtllib 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.
- The referenced image may be upside down. To remedy this use the following ImageMagick command:
convert sourceimage.jpg -flip destimage.jpg