Minimaps and radars?
Ive had some thoughts on how I could do a minimap for an RTS game, how would you do one?
I will probably use glBegin(GL_POINTS) to draw the unit locations, that way I sould use point sizes to represent different stuff.
My first thought was to render the stuff to a small buffer and use that as a texture, but that might be slow.
The only other thing I thought of was just drawing the stuff as part of the HUD, which sounds the most reasonable.
what other methods are there?
www.EberKain.comThere it is, Television, Look Listen Kneel Pray.
Not seen the tutorial, but wouldn''t the easiest way to do this be to have a single texture for the radar and directly update a texel array in memory, then use TexSubImage to update a texture each frame?
You could then draw the radar with a single polygon.
Keef
-----------------------
glDisable(WORK);
glEnable(GL_CODING);
-----------------------Current Project: The Chromatic Game Engine
I looked at it, theres not much to look at, I downloaded the source, and I dont feel like searching through it to find the relavant info.
If you were going to do a minimap or radar, how would you do it?
If you were going to do a minimap or radar, how would you do it?
www.EberKain.comThere it is, Television, Look Listen Kneel Pray.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement