CMapGroup::HF_GenMap error: - Unrecognised heightfield algo
Posted: Sun Apr 05, 2009 12:16 am
Ok. Guess this bug report might be a follow on from my question posted in Help and Support regarding map resizing.
The steps I took where:
Created a Design map at 1024px, Horiz. scale 2, Mosaic map on and Tile size 512. Which gives a 2x2 mosaic, with World size: 2 km
Then set HF/DM ratio 64 (16 x 16 px)
Painted on the Design map, just adding various altitudes.
Calculated Heightfield.
With the Heightfield map active, went to Operations > Design map > Resize Design map.
Now. Basically doubled everything. Width/Height was set to 2048px. Horizontal scale reduced to 1 (so that we still have a World size of 2 km). And Tile Size set to 1024, so that it's still only splitting it up into a 2 x 2 mosaic.
Left the HF/DM ratio at 64, this time though giving a 32 x 32 px design map.
Presto ... scale then equals 19999999124047053000000km (and I'm not kidding!). Of course L3DT then crashes at this point with the "CMapGroup::HF_GenMap error: - Unrecognised heightfield algorithm" error.
In order to write this post, I actually repeated my steps, so am confident that this is reproducible.
Starting to feel like a little boy, who has just been given a new tool, but is constantly breaking it
Curious to know the rules about scaling maps and please feel welcome to throw in lots of under the hood explanation stuff.
Cheers,
Philippe
The steps I took where:
Created a Design map at 1024px, Horiz. scale 2, Mosaic map on and Tile size 512. Which gives a 2x2 mosaic, with World size: 2 km
Then set HF/DM ratio 64 (16 x 16 px)
Painted on the Design map, just adding various altitudes.
Calculated Heightfield.
With the Heightfield map active, went to Operations > Design map > Resize Design map.
Now. Basically doubled everything. Width/Height was set to 2048px. Horizontal scale reduced to 1 (so that we still have a World size of 2 km). And Tile Size set to 1024, so that it's still only splitting it up into a 2 x 2 mosaic.
Left the HF/DM ratio at 64, this time though giving a 32 x 32 px design map.
Presto ... scale then equals 19999999124047053000000km (and I'm not kidding!). Of course L3DT then crashes at this point with the "CMapGroup::HF_GenMap error: - Unrecognised heightfield algorithm" error.
In order to write this post, I actually repeated my steps, so am confident that this is reproducible.
Starting to feel like a little boy, who has just been given a new tool, but is constantly breaking it
Curious to know the rules about scaling maps and please feel welcome to throw in lots of under the hood explanation stuff.
Cheers,
Philippe