Community Forum

Scale Pixel to Meters; Png to map

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created25.07.2011 11:52


Florian Otte (unknown) 25.07.2011 11:53
Hi there.
Does anyone know the scale from pixel to meters?
In particular i'am interested in calculating field borders in 'm' from the weight-png's.

Stefan Geiger - GIANTS Software 02.08.2011 09:10
The weight png does not determine the size of the terrain. They are always spawned over the whole terrain no matter how big it is. The size is determined by the size of the "dem" png.

The total size in meter is (demSize-1)*pixelPerUnit, where pixelPerUnit is an attribute of the TerrainTransformGroup in the i3d. For the standard map this is 2.

Wim Van San (uptown) 11.08.2011 13:04
so if you change the pixelPerUnit to 4 the map doubles in size? And what to do with the pdamap, I've got a 4x bigger map, demsize is 2049. but the pdamap always shows the wrong position.


Note: Log in to post. Create a new account here.