Hi
I'm new in jpct and in 3d programmation.
Have you some suggestions to give me ?
For example, on official google opengl it divide in 3 different files :
GLSurfaceView.Renderer
GLSurfaceView
and mainactivity
then it extends GLSurfaceView in something like this :
public class MyGLSurfaceView extends GLSurfaceView
I tryed to do in this way but some more doubts has appeared to me
Can I define world in renderer class ?
How can I access to res from the class that not extend activity ?
Put this code in onSurfaceCreated is equal to put it in oncreate() ?
Resources res = getResources();
modello = BonesIO.loadGroup(res.openRawResource(R.raw.vincent));
modello.addToWorld(world);
Do you suggest me the correct approach ?