OpenGL Terrain Height Map

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,549
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 14, 2008

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.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • @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

  • @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

  • 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 >.<

  • can you give me some pointers on how to make terrain. I'm trying, but nothing's working!

  • Looks good. I also try to create landscape with openGL

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more