Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

sage2003

Grid

This topic is 5453 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi i am trying to write a function that draws a grid of quads like a terrain, but most of the tutorials are complicated and over my head for the moment i tried a few times and got grabage i know this is a pain for all of you pros. I anm very young but i am determined to learn this god dam it, so an algorithem or something would help with comments thanks

Share this post


Link to post
Share on other sites
Advertisement
Start simple. Draw the grid one quad at a time. After you get that to work, you can speed it up somewhat by using a "quad strip" with OpenGL or a "triangle strip" with D3D to draw the grid a row at a time.

Then take a look at all of the more complicated algorithms to draw the grid even faster.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!