L3DT users' community
Large 3D terrain generator

Single layer (8 bit) png alphamaps

It doesn't hurt to ask...

Single layer (8 bit) png alphamaps

Postby Hypnotron » Sat May 06, 2006 1:51 am

Hello,
Seems to me the 8 bit png alphamaps do not store the data in the alpha channel. When I load these in DX Texture Utility the alpha channel is empty.

So in the meantime, I manually convert them and save them as .DDS and then my program can use them fine.

Is there any option / plan to make it so you can select whether or not to use the alpha channel of hte png with single layer alpha maps?

Thanks,
-Mike
Hypnotron
Contributing member
 
Posts: 42
Joined: Thu Apr 20, 2006 3:09 pm

Postby Aaron » Mon May 08, 2006 12:41 am

Hi Mike,

The image library I use (FreeImage) doesn't support 8-bit alpha-channel-only images. The closest I can do is an RGBA image with only the alpha channel used. Would this suffice?

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

Postby Hypnotron » Mon May 08, 2006 2:14 am

Hi Aaron,
Yes, if its not too much trouble, that would be great.
-Mike
Hypnotron
Contributing member
 
Posts: 42
Joined: Thu Apr 20, 2006 3:09 pm


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 5 guests

cron