L3DT users' community
Large 3D terrain generator

L3DT 2.4b

Please report software faults here.

L3DT 2.4b

Postby mauronen » Thu Oct 12, 2006 5:06 am

Hi Aaron.
When L3DT has finished to calculate all maps i tried to save project.
But it has saved only DM,HF,WM,WS and, suddenly, it's appeared this message:
Code: Select all
CL3DTio_FIApp::SaveMapFile error
 - FreeImage failed to allocate bitmap

CExtDLL::SaveMapFile error
 - call to DLL function 'SaveMapFile' failed

CMapGroup::SaveMapFile3 error:
 - save failed

CL3DTio_FIApp::SaveMapFile error
 - FreeImage failed to allocate bitmap

CExtDLL::SaveMapFile error
 - call to DLL function 'SaveMapFile' failed

CMapGroup::SaveMapFile3 error:
 - save failed

CL3DTio_FIApp::SaveMapFile error
 - FreeImage failed to allocate bitmap

CExtDLL::SaveMapFile error
 - call to DLL function 'SaveMapFile' failed

CMapGroup::SaveMapFile3 error:
 - save failed

CL3DTio_FIApp::SaveMapFile error
 - FreeImage failed to allocate bitmap

CExtDLL::SaveMapFile error
 - call to DLL function 'SaveMapFile' failed

CMapGroup::SaveMapFile3 error:
 - save failed



Cheers.

Aaron.
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Thu Oct 12, 2006 12:38 pm

Hi Mauro,

What were the sizes of the light map and texture map? It looks very much like FreeImage (the bitmap/JPEG/PNG library I use) has run out of RAM during the save operation.

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

Postby mauronen » Thu Oct 12, 2006 7:27 pm

Hi Aaron.
I don't know the sizes of LM and TX map because L3DT hasn't saved these files. Besides, i forgot to start Task Manager to monitor RAM used during save process.
The FreeImage library (if you know about it) has some kind of RAM limit usage?

Cheers.

Mauro.
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Thu Oct 12, 2006 10:16 pm

Hi Mauro,

Okay, what was the size of the heightfield, and what were the LM/HF and TX/HF ratios you used? If in doubt, can you post the contents of the '.def.xml' file here?

The FreeImage library (if you know about it) has some kind of RAM limit usage?


Possibly, but I don't think that's the issue. No, what I think has happened is that when FreeImage is saving a file it requests a (large) block of memory as a buffer. If your computer is low on free RAM, that request will be refused, and you'll get the error message shown above. In such cases, the only thing to do is to split the texture/light-maps into mosaics (operations->active map->split to mosaic.)

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

Postby mauronen » Tue Oct 17, 2006 1:25 pm

Hi Aaron.

Don't care about previous "pseudo bug".

But this, maybe, is a "real bug".
When i try to export Texture Map (Export > Active map...) it's ghosted.
L3DT 2.4a version works well.

Cheers.

Mauro.
User avatar
mauronen
Doyen
 
Posts: 107
Joined: Sun Jan 22, 2006 11:06 am
Location: Rome

Postby Aaron » Tue Oct 17, 2006 2:14 pm

Hi Mauro,

Thanks for the bug report. You can download the fix in the form of the 'stable' release 2.4b, which I uploaded a few moments ago.

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


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 9 guests

cron