L3DT users' community
Large 3D terrain generator

Importing a heightfield

Got a problem or need advice?

Importing a heightfield

Postby Thing 2 » Sun Apr 16, 2006 3:13 pm

Hi Aaron,

I just found your program through the forums over at garagegames.com, I downloaded the standard version last night. I have a heightfield that I'd like to see in 3D but when I try to import it, I get this:

L3DTio_LoadImage_FI error
- incorrect bit-depth for PNG HF

CMapGroup::LoadMapFile2 error
- error loading file

CMapGroup::LoadMapFile error
- Call to LoadMapFile2 failed

Program 'ImportHF_Wizard' terminated following errors


My heightfield is a png, it's dimensions are 868x666px and I tried switching the bit depth to 8 after I saw this error but it still didn't work
Thing 2
Member
 
Posts: 12
Joined: Sun Apr 16, 2006 3:06 pm

Postby Aaron » Sun Apr 16, 2006 3:48 pm

Gidday Thing 2,

This should be pretty easy to fix once I know what bpp/colour-mode the PNG is using. Could you send the image my way for testing (aaron@bundysoft.com)?

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

Postby Aaron » Mon Apr 17, 2006 3:37 am

Hello again,

The PNG was in 32-bit integer mode, which L3DT didn't support (but now does). You can get the latest version from the downloads page (v2.4 beta1 build 3).

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

Postby Thing 2 » Mon Apr 17, 2006 2:13 pm

Thanks Aaron, I appreciate your effort!!
Thing 2
Member
 
Posts: 12
Joined: Sun Apr 16, 2006 3:06 pm

Postby fig » Wed Aug 09, 2006 5:12 pm

I get roughly the same error trying to import an 8 bit bitmap.

Any chance you could add support for this?

I tried converting it to 24 bit. It looks OK but the heights are messed up when generating the textures for it..

L3DTio_LoadImage_FI error
- incorrect bit-depth for BMP/JPEG HF

CMapGroup::LoadMapFile2 error
- error loading file

CMapGroup::LoadMapFile error
- Call to LoadMapFile2 failed


Edit: Forgot to mention what version I'm using. :)

Release no: 2.4 Rev. 16
Build date: 03-July-06
Pro version.
There are only 10 kinds of people, those who know binary and those who don't.
fig
New member
 
Posts: 2
Joined: Thu Dec 15, 2005 12:41 pm
Location: Scotland

Postby fig » Wed Aug 09, 2006 5:44 pm

Just ignore me :)

I downloaded the new version and you've already fixed it..

Thanks
fig
There are only 10 kinds of people, those who know binary and those who don't.
fig
New member
 
Posts: 2
Joined: Thu Dec 15, 2005 12:41 pm
Location: Scotland


Return to Help and support

Who is online

Users browsing this forum: No registered users and 9 guests

cron