V

Avatar



Another .obj file loader for java/processing

I’ve noticed people have been looking for a obj file importer for processing/java.
Many thanks to Fabien Sanglard for his original code. I’ve added few more things i found to be important to me and added support for JOGL and processing. It runs over part of my framework called Vitamin, so if you are a pure processing user you might want to check the objscene.pde and change the rendering code.  I wanted to keep the obj importer independent of any API/Bind, so it can be easily used by different API/frameworks/whatever. Hopefully it will work that way.

Official webpage | Download Version 1.0

—–
This Java OBJ Loader support:
* Groups (+scene management implemented)
* 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

—–
Includes:
1. Library
2. Documentation
3. Example

—–
How to use it:
1. Copy library folder to processing’s folder
2. Run the example





Math for processing

My own math library for processing. It includes 3 and 4 dimensional vectors, 4×4 matrices and quaternions

These are part of my processing graphics renderer. I plan on releasing it sometime this year. Its a limited port of my graphics engine codename Chaos. But that is another story for another time. Enjoy!

Download here





,