Jump to content
  • Advertisement
Sign in to follow this  
mfrederickson

textured plane with tiling

This topic is 4623 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

should be a relatively easy question: i need to make a flat ground plane for my game - 10 x 10 in the units i'm using. i'd like to have a texture tile on each 1x1 patch of the ground. what's the fastest way to render a tile textured plane in GL? is there some sort of primitive? let me know what the fastest, most efficient way is. thanks!

Share this post


Link to post
Share on other sites
Advertisement
The primatives you're after, are known as quads. Providing the ground doesn't change, you could always use a display list to render it, otherwise you might want to look into vertex arrays.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!