
texture/sprite question
I want to display eyes opening and closing, but i dont want to and there is really no need to model the eyes. In dos i would have used sprites, but to opengl i am kind of new.
What i am thinking is to just have a normal quad surface, and just change/rotate textures to "make the animation".
The animation would be about 10 frames or so.
Is there a better way to do this in opengl? (visual c++ 6, win)
10 frames would also mean 10 bitmaps...
If anyone here has guidlines or links to sites showing how to do this properly feel free to enlighten me

www.ageofconan.com
and while i am at it
is there a limit to how many textures you can display? (apart from memory)
is there a limit to how many textures you can display? (apart from memory)
www.ageofconan.com
I don''t know of a better way to do it.
But if the bitmaps are small enough then you could have several frames per texture, just manipulate the texture cordinates.
I don''t think there is a limit apart from memory.
At least not a limit you would be able to reach even if you tried.
But if the bitmaps are small enough then you could have several frames per texture, just manipulate the texture cordinates.
I don''t think there is a limit apart from memory.
At least not a limit you would be able to reach even if you tried.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement