Hi everybody.

Started by djork, February 07, 2006, 21:36:32

Previous topic - Next topic

djork

Hi, long time lurker/first time poster here!  I have been spending a week or two developing an engine in LWJGL just to flex my brain.  I have implemented an OBJ file loader, a Mesh class, a ModelManager class (so that a model only needs to be loaded once and referred to by an int id), and a collection of scenegraph node classes (Node, Rotation, Translation, Scale, GeometryNode) with a pre() and post() functions to push/pop matrices as the tree is walked), and a few 3D convenience classes (Vector3d, Vertex, Face, etc.).

I totally <3 LWJGL thus far, and I just added display lists to my engine.  I was worried about performance before, because I could never get over 30 FPS with some relatively high poly models (5000+ faces)... but my worries are gone now!

Anyway, I'd like to share some of my code with you guys and get a critique.  I really need to document my code... I want to write some decent JavaDoc stuff but I've never done that before.

http://www.djork.net/djork3d/djork3d.zip

(I know that's a lot of djork's...)