Minimap rendering?

Minimap rendering?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Minimap rendering?

Post by PauloMorfeo »

I am wondering how is the minimap rendered...

That's because i see stuff on the minimap that i would never expect to see there... Examples: craters done by explosions or the deformations in water caused by the hovercrafts...

This makes me think that the minimap is beeing rendered by making a full render of the whole map every frame...!? If true, it can't be good in terms of performance.

Map deformation, for example is usefull to see on the map (imagine a «bridge» deformed up to unpassable) but a full render of the map to the minimap could be done only once every 10 seconds or something like that, allowing us to see the (almost) present state of deformation.

If this is true, i'll post a bug/feature_request news on SourceForge.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

But before, count and check the time taken to render it really makes a difference. Because I think it's pretty nice to see craters appearing in real time over the minimap.
Kickban
Posts: 62
Joined: 03 May 2005, 18:34

Post by Kickban »

Yep, realtime render of the minimap is nice (seeing the explosions of a buzzsaw in realtime :p).
And the engine don't suffer from it on a Athlon 750 + GF4 MX (My broth computer), so i don't think we should change that.
Post Reply

Return to “Engine”