Code request for a 3-D unsterstanding of LWJGL

I’ve been trying to keep away from asking and I’ve looked for code myself, but I can’t seem to find some LWJGL code for moving through a 3-D world with a very simple environment, I was looking at the Terrain Generator (the one that’s close to the top of the forum activity),but It really went over my head due to complexity added for it’s actual purpose which was terrain generation. So ultimately I’m going to have to do what I didn’t want to.

Is there any complete code for 3-D movement through a simple environment which someone can refer me to?

There most likely are none for LWJGL specifically but you could easily find it for C/C++. Since the OpenGL function calls are almost the same in both pure C/C++ and LWJGL, you should have no real trouble.

If you want a good tutorial for learning 3D OpenGL, here is a really one. The Java+LWJGL ports are found here!

I should try and do a complete port of what I’m looking for from C++ to Java, which is a good idea Thank you. I’ve had limited experience of C++, but I should manage.

Here’s a small example, see javaglgame.tgz, look for things in Game.java and read the README:
http://code.google.com/p/demonworld/downloads/list

Before you start trying your hand at a first-person 3D demo, you should familiarize yourself with the basics. Learn how shaders work, how vertices and fragments are handled by the pipeline, etc. Then you can move on to learning about matrices and depth.

Go Nehe! Tutorial 10 will explain all that. But it is C++…