L3DT users' community
Large 3D terrain generator

CMosaicMap::GetTileMinMaxAlt error - incorrect map type

Got a problem or need advice?

CMosaicMap::GetTileMinMaxAlt error - incorrect map type

Postby notareal » Thu Nov 23, 2006 11:42 am

With 2.4b Rev. 15 I'd try to export 32kx32k (512 tiles) texture map and resize to to 2048x2048 png, I do get errors. From log:

OnFileExportActivemap (CMainFrame)
Showing wizard pane 'Export map'
Executing program 'ExportWizard'
Beginning calc thread (code = 2001)
Exporting map as 'C:\Documents and Settings\xxx\My Documents\xxx\xxx-TX.png'
Initialising mosaic
>> Mosaic name: 'TX'
>> Map type: '24bit' (code = 3)
>> Filename: 'C:\Program Files\Bundysoft\L3DT Professional 2.4.2.15\Temp\2\ExportMap\swap'
>> Size (pixels): 2048 x 2048
>> Size (tiles): 4 x 4
>> Tile size: 512
>> File format: 'BMP' (ext = 'bmp')
Resizing map

CMosaicMap::GetTileMinMaxAlt error:
- incorrect map type"
.
.
.
Exported png seems to be ok anyway, so it's more cosmetic error I hope.
notareal
Contributing member
 
Posts: 25
Joined: Thu Nov 16, 2006 12:25 pm

Postby Aaron » Thu Nov 23, 2006 12:02 pm

Hi Notareal,

Oopsie. That code shouldn't be running for a texture map - it is used to get the min/max altitude for saving heightfields and water maps so that the greyscales are consistent across tiles. Anyhoo, it shouldn't affect the output of the other maps, and it should work properly for the HF/WM, so this is just cosmetic as you say. I'll hopefully have some time next week to fix this up. Thanks for the bug report.

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby Aaron » Sun Nov 26, 2006 11:41 am

I've found the fault, and the fix will be included in the next update.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia


Return to Help and support

Who is online

Users browsing this forum: No registered users and 6 guests

cron