Render minimaps with heightmap in lobby client?

Render minimaps with heightmap in lobby client?

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Render minimaps with heightmap in lobby client?

Post by TradeMark »

It would be awesome to render the minimap image with heightmap, so we could make water visible in the minimap.

Some maps looks like land maps from the minimap view, but actually they are water maps, or has water in there...

So, would it take too much time to read one map heightmap from the file? Or why its not supported yet?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Render minimaps with heightmap in lobby client?

Post by AF »

Add it to unitsync, then we can talk
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Render minimaps with heightmap in lobby client?

Post by Kloot »

The unitsync library does not support reading the
heightmap from a map archive, feel free to patch it.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Render minimaps with heightmap in lobby client?

Post by TradeMark »

Oh, so how i read the heightmap? where is the map format definitions?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Render minimaps with heightmap in lobby client?

Post by Tobi »

Get started in mapfile.h
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Render minimaps with heightmap in lobby client?

Post by TradeMark »

Yeah, i got the code already, made for PHP though, and its working :o

But, i still have problems rendering the water correctly, i dont know how it exactly blends the water color by using those variables in .smd file... Though it could be better to just render the water in blue color, etc, so its easier to see where the water actually is, if the map texture and water color makes it hard to see water well.
Post Reply

Return to “Feature Requests”