domingo, 10 de junho de 2012

7DFps - End of Day 1

Today I did mostly code organization (to allow me to define separate objects with individual shaders, spatial transforms, and that access a single array, and encapsulate OpenGL calls into simpler ones). With this in place, designed a placeholder room with the polygons colored using vertex colors gradients.

Started looking at libraries for collision detection and physics in 3d, using Java. Will experiment with JBullet first, also considering ode4j as an alternative.

Tomorrow i'll add physics to the camera's movement (be blocked by the world's obstacles and respond to gravity), and allow detecting "shooting" of objects (using raycasting in the physics engine's collision detection).

Made in Java + Netbeans + LWJGL library (with help from LibGDX)

Sem comentários: