3D graphics engine in Java