Hi, I am new here and have just started experimenting with Jogl. I must say I was quite surprised to see that there was a shortcut to Open GL from Java like this, and I hope it can start a new era of Java games using full 3d.
However, I am having problems getting started. I have created a simple RPG model with an autogenerated map that I now want to try to visualize using Jogl. Its a simple map with elevation information that I want to create first. This was fairly simple using triangles between the elevation points. I also figured out that it was easy to translate and rotate this data too using the opengl calls for that. I also learned how to do texture mapping from the samples posted here.
But I am not sure how I can create a view that is perspective corrected and allows me to move in the same plane as the landscape-object. Just like a first perspective game. Any simple tutorials on this would be great, preferrably using JOGL commands.
Finally, I have problems making the lights actually affect the object correctly. It seems to ambiently light every surface no matter which angle it has to the light.
Also is there a simple way of gouraud shading the textured triangles by having the system calculating the normals on the vertices that are shared between polygons. Is this something opengl can do for me?
Thank you for any pointers on this.