Skip to main content
Commonmark migration
Source Link

I want to make a simple 2d terrain with just a few bumps and height changes:

![terrain with le car][1]terrain with le car

I thought about just using random numbers to describe the height of a certain vertex, but I don't see how I can make one mesh from this. I'm looking for a way to find the vertex and indices buffers for the terrain.
How do I do this? [1]: https://i.sstatic.net/WCskn.jpg

I want to make a simple 2d terrain with just a few bumps and height changes:

![terrain with le car][1]

I thought about just using random numbers to describe the height of a certain vertex, but I don't see how I can make one mesh from this. I'm looking for a way to find the vertex and indices buffers for the terrain.
How do I do this? [1]: https://i.sstatic.net/WCskn.jpg

I want to make a simple 2d terrain with just a few bumps and height changes:

terrain with le car

I thought about just using random numbers to describe the height of a certain vertex, but I don't see how I can make one mesh from this. I'm looking for a way to find the vertex and indices buffers for the terrain.
How do I do this?

Source Link
user717572
  • 155
  • 1
  • 6

How to make a 2D Terrain with opengl?

I want to make a simple 2d terrain with just a few bumps and height changes:

![terrain with le car][1]

I thought about just using random numbers to describe the height of a certain vertex, but I don't see how I can make one mesh from this. I'm looking for a way to find the vertex and indices buffers for the terrain.
How do I do this? [1]: https://i.sstatic.net/WCskn.jpg