Advertisement

texture/sprite question

Started by July 29, 2003 09:42 AM
4 comments, last by _Kami_ 21 years, 7 months ago
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)
www.ageofconan.com
Advertisement
no answer? =(
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.
thanks for the reply

I will do it that way then, and see how far i get
www.ageofconan.com
No, I don''t believe so.

This topic is closed to new replies.

Advertisement