I have a 3D dungeon and would like to draw a treasure map which shows the top view of the dungeon, spots of treasures in the dungeon and etc. I am quite clueless about how map is drawn in 2D on the fly as the game goes. Would someone shed some light on how this should be done? Thanks.
Searching the forums for ‘minimap’ should give you plenty of info on this.
In brief though, one method would be to use multiple cameras and layers and have the ‘minimap’ camera render the same scene that the main camera does, only from above and (perhaps) with certain objects rendered or not rendered (as needed) using layering. (Another option would be to render the map strictly in 2-d using the built-in GUI system, textured quads, or whatever.)
Ok, thanks.