Area

Sections

j3d.org

OBJ and NFF Loader

Last update: 15 Sept 2000
Author: Rycharde Hawkes
File Format(s): NFF (WorldToolKit), OBJ (Wavefront)
Availability: Local FTP HTTP
Notes: The jar includes:
  • Source code
  • Javadoc
  • A Sample Viewer application
  • A note from the author (view readme.txt)
  • A sample NFF file (shown above).

OBJ Tags supported: v, f, g, mtllib, usemtl, Ka, Ks, Kd, and sharpness. The normals are ignored and regenerated. Textures are not yet supported

Usage:Download the zip and unpack it into a separate directory To start the sample viewer application:

      java ViewFrame
    
Make sure that the file you are going to load is in the same directory you are running ViewFrame from. Details of how to incorporate any of these loaders into an application can be obtained through the included source code and Javadoc.

source file no source file included