What would it take to double max map height from 255 to 512?

For code related discussions and questions

What would it take to double max map height from 255 to 512?

Postby MIH-XTC » 11 Oct 2017, 02:55

see thread title for question.

In Flame the max height is 255.

I was just thinking about how cool of a map could be made with the ability to vary the heights over a larger range.

I'm just curious how much work is involved or what that entails.

One problem I can see is that things at height 510 will seem right in your face while things at 0 height are distant. Not sure how that would work out...
MIH-XTC
Trained
Trained
 
Posts: 165
Joined: 31 Jan 2014, 07:06

Re: What would it take to double max map height from 255 to

Postby Berg » 11 Oct 2017, 05:40

Why the need to double the height anyway.?
On a different note i have made maps in flame that are 500 x 500 they work in game with a small code change.
That was fun bigger maps
But i cant see a need for height.
User avatar
Berg
Regular
Regular
 
Posts: 1864
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: What would it take to double max map height from 255 to

Postby NoQ » 11 Oct 2017, 10:02

I was totally dreaming, like literally sleeping and seeing things, about epic heightmaps with huge cliffs and slopes. Also skyscrapers [1] [2] [3].

I think i also have managed to double the height multiplier in the game to see how it looks if we get epic heights, but i don't think i made any screenshots. It used to be actually higher in master for some time, but then it was rolled back before one of the releases. Like, you don't really need higher precision, you only need higher maximum value, so your idea can be implemented by adding a per-map height multiplier in a better map format (as feature request for #4291).

One of the tricky problems would be to avoid the camera digging into the ground on high slopes. It doesn't hurt that much currently, but quickly gets worse when the heights increase. But apart from that, and map format, i think it's all it takes.
User avatar
NoQ
Special
Special
 
Posts: 6068
Joined: 24 Dec 2009, 11:35
Location: /var/zone


Return to Coding