PDA

View Full Version : Mini Map


Jake
2005.04.05, 09:44 PM
I want to have a mini map in my motorcycle game similar to World of Warcraft. My idea was to make a bunch of textures that were just renderings of my world from a top view. This would allow the user to see roads, buildings, lakes, exactly as they should be, and it would require very little effort to actually program the texture generator.

If I get my program to fly above the map and render a frame pointing down, how do I export that to a texture?

Does this sound like a good or bad idea? I think it will look great if done correctly and it doesn't seam like it will be that hard.

Thanks in advance!

OneSadCookie
2005.04.05, 09:56 PM
CopyTexImage2D or PBuffers.

Danlab
2005.04.07, 10:15 PM
CopyTexImage2D or PBuffers.

the idea behind the short answer is to render your map from top and copy it in a texture
im using this to create the minimap in my racing game
CopyTexImage2D keep the alpha channel too :love:

Jake
2005.04.07, 10:37 PM
the idea behind the short answer is to render your map from top and copy it in a texture
im using this to create the minimap in my racing game
CopyTexImage2D keep the alpha channel too :love:

That would be easier to do in real time, maybe once every few seconds. Thanks for the idea!