Jump to content
  • Advertisement
Sign in to follow this  
Runt888

OpenGL Tiled Textures with pixel store?

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

I'm working on some texture classes that can handle creating tiled textures from images. The OpenGL Red book says that the pixel store functions effect texture calls. If I have a large image in a single data array, and I want to create several tiled textures from it, can I define a rectangular region with the pixel store functions to do this? If so, does the entire data array get passed to the card when creating the texture, or just the region from the array that was defined? Would this be significantly slower than making the tiled textures from several different data arrays? Thanks for any information on this! Kelly ps - I've been trying to test this out on my own, but so far I've been unable to get it to work. However, I'm pretty new at the pixel store functions, so I might just be setting things up incorrectly. I am just curious if what I am trying is even possible.

Share this post


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

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