Skip to main content
gamedev.net
🔒 Locked

Sprites

Started by TheShadow Apr 20, 2003 at 9:52 AM 2 replies 250+ views
Original Post
TheShadow
TheShadow
What would u recommend for openGL when it comes to sprites (Im in ORTHO)... Loading seperate files for every state and texture the quad or load one file process it and then texture the quad with the processed image? I already have a seperate file loader.
Mecha Engineer (Making Real Humanoid Suits)
Basiror
Basiror
sprites are not done with QUADs on modern engines but with GL_POINTS

check out the nv point... extensions
http://www.8ung.at/basiror/theironcross.html
_DarkWIng_
_DarkWIng_
you might want to check oust vn_point_sprite extension but it''s use is VERY limited.. just go with the quads... if you sprites need animation you can try loading them in 3D texture...

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
Ilici
Ilici
if u wanna keep it simple use za quad, load the textures and store them in an array. then just cycle them keeping in mind u have to change them at a specific interval (how many FPS the anim has)

i dunno how to do in with gl_points, but point sprites are the new trend so u could do that

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.