Page 1 of 1

L3DT 2.4b

PostPosted: Thu Oct 12, 2006 5:06 am
by mauronen
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.

PostPosted: Thu Oct 12, 2006 12:38 pm
by Aaron
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.

PostPosted: Thu Oct 12, 2006 7:27 pm
by mauronen
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.

PostPosted: Thu Oct 12, 2006 10:16 pm
by Aaron
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.

PostPosted: Tue Oct 17, 2006 1:25 pm
by mauronen
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.

PostPosted: Tue Oct 17, 2006 2:14 pm
by Aaron
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.