Aces High Bulletin Board
General Forums => Terrain Editor => Topic started by: TexMurphy on February 04, 2005, 03:23:07 PM
-
How does this work?
Is the color 255, 0, 255 always transparent?
If I understand it correctly the BMP format does not store info on transparency.
An explanation on how I create transparency would be very nice.
Tex.
-
Ditto,
I exported the lafld0g shape which seems to do this and it exported a bmp file called AFGRASS5_a.bmp but when you load in the ac file it doesn't make any reference to this bmp file only AFGRASS5.bmp..
-
Just a thought, but if I create a bitmap for my object then create another one named similar but appended with a "_a.bmp" is the converter smart enough to know that a file named as _a.bmp is the transparency bmp?
Ill try it out..
edit:
Darn it didn't create a _a.htx file :( I guess that's not the correct way to do it..
2edit...
ok that does work, it just dosen't create a htx file for the transparency bmp.... coool
-
Originally posted by soda72
Just a thought, but if I create a bitmap for my object then create another one named similar but appended with a "_a.bmp" is the converter smart enough to know that a file named as _a.bmp is the transparency bmp?
Ill try it out..
edit:
Darn it didn't create a _a.htx file :( I guess that's not the correct way to do it..
2edit...
ok that does work, it just dosen't create a htx file for the transparency bmp.... coool
Could you please post the two bmps?
so I see what you mean...
Tex
-
Below is a texture that I attached to a Rect object made in AC3d
called testtran.bmp:
(http://www.geocities.com/s0da72/images/trn03.jpg)
I then created another another bmp for the transparency
called testtran_a.bmp
(http://www.geocities.com/s0da72/images/trn02.jpg)
This file is not referenced in anyway to the ac file created in AC3d I just made it the same size and made sure the name is the same but with the _a added to the end of the file name. Both images are an 8 bit bmp(256 color)..
Black (0,0,0) is tranparent, white(255,255,255) shows the texture map.. shades of gray in between the two seems to affect the level of transparency
This is what it looks like in the object editor
(http://www.geocities.com/s0da72/images/trn04.jpg)
another one...
(http://www.geocities.com/s0da72/images/trn01.jpg)
-
You can also have a transparent index file.
HiTech
-
Cool that worked!!!
Thanks.
Tex