3D software renderer in Java