Besides the 3 basic jar files (springsnapopen.jar, opengl.jar, core.jar) i also have downloaded 3 more files which i saw when i "view source" of the index.html in the exported application. This move fails to solve the problem.
Hope i have provided enough information and you folks could help me out.
1) I want to have 2 objects in the scene where the camera is used to navigate the 3D object and, while doing so, the 2D object remain in place not affected by the camera?
I have seen other did this using by adding camera() after the 3D object before the 2D object. However, in order for this to work, both camera have to be in draw. PeasyCam runs in setup instead of draw. Hence, the the view always reset to the original. Please run the below code to see it better.
2) How can i make the camera rotate the object using the object own center as the axis of rotation? Usually, when the object is not placed at the center of the screen, the rotation is off center
Hope you guys could help me out.
Alternatively If anyone has a camera class that could perform better, and is able to solve the 2 problem, please do let me know too. :)