LWJGL
May 20, 2013, 15:05:55
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL is now using GitHub
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenGL
>
Texture Detail
Pages: [
1
]
« previous
next »
Print
Author
Topic: Texture Detail (Read 1846 times)
rabidsponge
Newbie
Posts: 5
Texture Detail
«
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
Texture Detail
«
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
Logged
Puppygames - Play Revenge of the Titans here!
rabidsponge
Newbie
Posts: 5
Texture Detail
«
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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...