L3DT users' community
Large 3D terrain generator

Image Overlay Problem

Got a problem or need advice?

Image Overlay Problem

Postby dennis » Thu Jun 07, 2007 11:16 pm

I'm trying to overlay an image to create a design map. Sometimes this works and sometime it doesn't. For the life of me I can't figure out why. When it doesn't work I get the following errors in the log:

CL3DTio_FIApp::LoadMapFile error
- unsupported bit-depth for 24-bit map

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

CMapGroup::LoadMapFile2 error
- error loading file

Error loading image

I've tried 8 bit greyscale and 8 bit RGB. 3 color channels, 8 bits per channel, should be 24 bit. Right?
dennis
Luminary
 
Posts: 65
Joined: Fri Aug 04, 2006 9:54 pm

Postby Aaron » Thu Jun 07, 2007 11:43 pm

Hi Dennis,

It should be RGB at 8 bit/layer. If in doubt, try JPEG, as it doesn't support many other colour modes (i.e. no greyscale or RGBA JPEGs).

Anyhoo, to fix this properly I'll add some conversion code to the L3DTio_FI plugin to make it more tolerant of different image types. In this case, we probably need greyscale to RGB and RGBA to RGB. I'll also make the plugin report more useful error messages, such as "...unsupported but depth for 24-bit map (was 1 layer @ 16 bit)".

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

Postby dennis » Fri Jun 08, 2007 1:20 am

Aaron, as near as I can tell it is an 8 bit RBG image saved in jpeg format. Here the is information as displayed by PSP:

Image
dennis
Luminary
 
Posts: 65
Joined: Fri Aug 04, 2006 9:54 pm

Postby Aaron » Sat Jun 09, 2007 10:21 am

Hi Dennis,

Can you please try the latest dev build (Pro 2.5a build 6)? It includes an updated image plugin that supports some more image modes, and also provides more descriptive error messages when it encountered an unsupported format.

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

Postby dennis » Sat Jun 09, 2007 11:40 am

Aaron, thank you! Using the new dev build the image loaded without a problem.
dennis
Luminary
 
Posts: 65
Joined: Fri Aug 04, 2006 9:54 pm


Return to Help and support

Who is online

Users browsing this forum: No registered users and 17 guests

cron