We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › wavefrontloader (.obj for processing)
Page Index Toggle Pages: 1
wavefrontloader (.obj for processing) (Read 201 times)
wavefrontloader (.obj for processing)
Feb 6th, 2009, 7:17pm
 
http://www.pixelnerve.com/v/2009/02/06/another-obj-file-loader/

Library to import obj files to your applications.
it includes a basic 3d struct for world management and render using opengl directly (pure processing users, im sorry!)


 obj importer by Fabien Sanglard ( http://fabiensanglard.net/ )
 changes and port for processing&jogl by Victor Martins ( http://www.pixelnerve.com/v )

This Java OBJ Loader support:
   * Groups (scene management)
   * Vertex, Normal, Texture coordinates
   * MTL (material) references.

This Java OBJ Loader DOES NOT support:
   * Relative vertex references.
   * Anything other than GL_TRIANGLE and GL_QUAD polygons

the good thing is the group support. that is very important for world management, materials are still limited, but it includes: ambient, diffuse, specular, diffuse_map. il be including more as needed.


What comes in the pack ?
1. library
2. documentation
3. 1 example on how to use the importer and render using opengl

There is no website for the library yet, but i should be making one soon, since its part of the processing library guidelines.
Page Index Toggle Pages: 1