Author Topic: Alpha Transparency on Textures  (Read 1747 times)

0 Members and 1 Guest are viewing this topic.

Offline Riven

  • 28
Alpha Transparency on Textures
Can FS2 support alpha transpareny maps on textures, and if so how?

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Alpha Transparency on Textures
Well, try it.

The alpha for FS is pure green I believe, so try making a ship texture solid pure green, and see if it is visible.

I'd do it myself, but I'm lazy.:D

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Alpha Transparency on Textures
Bright green on textures will be invisible when using D3D. It won't be invisible in Glide and I don't know about OpenGL. (It won't even load textures in OpenGL mode on a Voodoo 3.) I know about the D3D/Glide stuff from personal experience. :)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Alpha Transparency on Textures
Hmm, so if you put a piece of purest green on one side of a ship, would you be able to see the other side?

A Nugget Of Purest Green!

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Alpha Transparency on Textures
You would actually be able to see right through the ship, since backfaces aren't rendered.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

  

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Alpha Transparency on Textures
Ahh, I see, you could perhaps employ it for cockpits somehow.

 
Alpha Transparency on Textures
Would it work if you have a "checkerboard effect"?

say...green and black, with cocpit detail or see through domes on space stations(Tachyon anyone? ;) )

It would work...I think......

Cor

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Alpha Transparency on Textures
The green thing AFAIK only works with D3D, and invisible means you can shoot through it but can't fly through it. Which means a cockpit wouldn't look right unless you had faces underneath/behind the invisible face that point outward. On a face by face basis, you can make a face invisible in all modes by giving it the texture "invisible" which is easily done by ModelView32/PCS. (Take a look at the Orion for an example.) I believe the bright green (0,255,0) = transparent thing is a "feature" built into D3D and not something FS2 itself does on purpose. And remember, under Glide and probably OpenGL that green will show up as green.

Edit: Glass type "windows" wouldn't look right without some sort of reflection thing, and these transparancy methods don't fit the bill.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Alpha Transparency on Textures
Well, if you don't texture something it shows up as a kind of transparent grey that would work for glass. You would need an interior as well, though.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...