PCM.daily banner
18-02-2025 21:55
PCM.daily
Users Online
· Guests Online: 49

· Members Online: 0

· Total Members: 163,032
· Newest Member: Coerthoff
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2015
 Print Thread
StageEditor with heightmaps
manindemaan
Hey,

has anyone ever succeded to work with heightmaps when no DEM files are available (e.g. northern scandinavia) ?

I'm facing two problems:
(1) The scale of heigtmap region to pcm is completely wrong, large mountains become small hills in the stage editor. I can of course increase the image resolution, but soon the heightmap images become extremely large...
Is there a way to change the resolution (pixel per km), and does someone know the actual resolution used?

(2) I cannot get the necessary height for mountains (even relatively small mountains topping around 1000m above sea level), they all end up as small hills, even though mountain tops are white and valleys black.


Any help would be great. If there is another way to make stages in 'unsupported' regions is also welcome (other than starting with an empty map maybe :))
 
Monod
Hello Manindemaan,

about heightmaps, unfortunatly, Cyanide never answered me about this bug editor ! More precisely the editor doesn't translate correctly the format .TGA which contains color values from black 0 to white 255 :

Black 0 = 0 meter, White 255 = 8500 m, between the both shade of gray = differents heights from 1 to 254.

I explained it there in French, it was for PCM 2013 but as you see nothing done since this time from Cyanide :

https://forums.letour-games.com/viewto...p;p=586199

To resume, you could only get height of 255m maximum. You could do a simple test in building a TGA file then add on it 3 squares with one Black, one Grey, also one White and observe which height you will obtain. I don't still play on PCM 2015 but I guess no patch still was done to finish to develop the TGA translate Heighmap Editor...Tell us if it's still the same results on PCM 2015 ?

I built a race in Bolivia below, in fact I used a TGA file from Bolivia that I built from DEM and I used the tool to grow up inside the Editor. Sure, is not at all the real relief in doing this way but until Cyanide doesn't want to answer us about it, nothing else could be done.

https://pcmdaily.com/forum/viewthread....d_id=39318


Good Luck !
« The desert is beautiful, does not lie, it is clean. »
 
http://www.1terre.com/blog/index.php?
manindemaan
Hey Monod,

I looked at it more carefully, the problems are the same in PCM2015's editor - terrain height is limited to 0-255 meters..

Anyway, thanks for your reply and suggestion to use a realistic heightmap file and increase the terrain by hand.

Regarding my other question: 250 pixel in the heightmap image correspond to 1km ingame.
 
Monod
So the same for PCM 2015, unfortunatly nothing done from Cyanide since PCM 2012 about SE and heightmap !

About distance when you load a heighmap.TGA in the SE, you will obtain always 30 x 30 km square map whatever the size of your TGA file.

I spoke about this in private with SportingNonsense maybe could be interesting to share our discussion about it ??
« The desert is beautiful, does not lie, it is clean. »
 
http://www.1terre.com/blog/index.php?
tsmoha
SN is going to write a tutorial soon Wink
 
Episode1
where could you even find good heightmaps?
 
Monod
Hello,

you are meaning DEM digital elevation model.
You will not find a heightmap.TGA to download directly, it will be necessary to convert it.

I will do a little tuto about it soon.
« The desert is beautiful, does not lie, it is clean. »
 
http://www.1terre.com/blog/index.php?
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Podium Alternative
Podium Alternative
PCM 07: Funny Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 19,676 PCM$
bullet df_Trek 18,474 PCM$
bullet Marcovdw 16,745 PCM$
bullet jseadog1 14,652 PCM$
bullet baseba... 10,939 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 22,690 PCM$
bullet df_Trek 16,620 PCM$
bullet Marcovdw 16,200 PCM$
bullet jseadog1 14,600 PCM$
bullet baseball... 7,832 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.22 seconds