Map Image Creation Method
#1

Ok, so my upcoming project has a completely custom continent. It is huge. I want to make a 3000*3000 sky view of the map that would not be fisheyed. It would need to be completely level because I plan of using the bitmap object placing method described by Southclaw here: https://gist.github.com/Southclaw/16c972c8504fbc347f48

I'd actually rather have a complete 6000^2 image for players to use too.

The object placement will use ColAndreas instead of mapandreas because it's a 100% custom map.

What do you guys think the proper way of generating this in high quality would be?
Reply
#2

BUMP; Anyone?
Reply
#3

in my understanding you want to create a map like this

but in a completely new custom map.
I don't know how it was done in mapandreas but one way I can see this is that you get 2 z values, one being the highest point on the map, and the other being the lowest.
then from casting a ray every x units in both directions so you make a grid (you can figure out the highest and lowest z values from this data)
then you could write a program that gets the grid data and draws the map, the pixel colour would be dependent on how high on the z axis the x and y points are
like
pixel_colour = ((z_values[x][y] - min_z) / (max_z - min_z)) * 255;
Reply
#4

Well that's useful for something else I wanted to do later on, but I want just a plain HQ map. Like so;
http://images.wikia.com/gtawiki/imag...ndreas_map.jpg
Then I can use that map for the HUD and give it to players if they want to too. With the HD one I can then just use something like image sharpening and high contrast to get it to look like examples 2,3,4 and 5 here;
https://sampforum.blast.hk/showthread.php?tid=516560

If you read up on that thread you'll understand my goal. Thanks anyways..!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)