This was created in OpenGL and C++. It's a basic height map (a grid of heights) textures with one image. There are restricted areas and a moveable object with direction. The user can click on the map or use the keyboard to navigate.
The small green spheres are the grid points.
The larger green sphere is the destination of the white sphere (wherever the player clicks).
The red areas are restricted areas.
The white sphere has a red cone going through it representing direction.
For more see http://lewislinn-cole.mygamesonline.org/index.html
Sorry about the shoddy video, my desktop recorder seemed to freeze up after 15 seconds, so this is a few 'takes' put together.
@TheGtrMaster make a quad by using glbegin(GL_Quads) then in between it you think of a grid and your putting a point on it but without doing it directly so you have to use numbers so you go its placed x something and across y something you can even have 3 parameters or 4 but i recommand 2f :) because its easier and works nicely glvertex2f(,) and once you have specified 4 points you end it with glEnd() then you must texture map it im gunna be making tutorials explaining all this :) to make iteasy
NoobScratcher 5 months ago
@fataljulio you bend the vertex up by referencing bump map which is black and white shades of colour and basically somehow tell opengl that black means going up by a certain amount and white goes down a certain amount :) its pretty simple concept the code thats required is just a matter of finding it or asking someone or even reading a shitty book ;) that people enforce
NoobScratcher 5 months ago
can u share ur code plz? XD im really stuck on this code and i dont know how to get the height out of this >.<
fataljulio 10 months ago
can you give me some pointers on how to make terrain. I'm trying, but nothing's working!
TheGtrMaster 3 years ago
Looks good. I also try to create landscape with openGL
kosiak10851 3 years ago