LWJGL
May 20, 2013, 15:05:55 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Texture Detail  (Read 1846 times)
rabidsponge
Newbie
*
Posts: 5


« on: July 27, 2005, 20:39:59 »

Hi, I'm currently using ST3C compression in my game to reduce the size of my textures in memory.  Currently, you need a graphics card with 64MB of memory to play my game.  I want to make the game playable with a 32MB graphics card by giving players the option to play with low res textures.  What I want to do is somehow load a texture so that it's dimensions are reduced by half.  Sorry if this is obvious, but I'm pretty new to openGL, and I don't know how to load a texture in this way.
Logged
princec
Nerdus Imperius
*****
Posts: 1868



WWW
« Reply #1 on: July 28, 2005, 14:38:44 »

You'll need to resize the texture on the fly before actually uploading it to OpenGL - which means writing your own image minification filter or using BufferedImage and scaling it with a transform operation.

Cas Smiley
Logged

rabidsponge
Newbie
*
Posts: 5


« Reply #2 on: July 28, 2005, 18:39:13 »

Thanks, I'm using DevIL for texture loading so all I had to do was use the command ILU.iluScale before I created the texture in OpenGL.   Cheesy
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!