Alphachannel texter for 3d object.

Blitz3D Forums/Blitz3D Programming/Alphachannel texter for 3d object.

BerhanK(Posted 2003) [#1]
I have asked this before but maybe I wasn't clear about it:

Is it possible to load :

1) a b3d model then
2) a texture with alpha channel to make part of the 3d object(entity) (somewhat)transparrent?

I know it works fine with sprites, but I can't get it to work with a 3d model.

Is it possible?


Beaker(Posted 2003) [#2]
Yes.


mhussa(Posted 2003) [#3]
one way to do it would be to label the portion of the object you want transparent with some name and then search for it using the findChild function. once you get the child entity handle you can set the alpha, texture and whatever else you need ( i.e. a windshield of a car object)


poopla(Posted 2003) [#4]
That requires the mesh have multiple surfaces though. Texture mapping the object in a seperate app would be a bit more efficient.


BerhanK(Posted 2003) [#5]
Thank you MasterBeaker, you've solved the mistory! ;)


ShatteredReality, sounds logical enough, I'll try it, thank you!