Posted: Mon Feb 14, 2011 1:04 am
I've tried and have proof of the fact that alleg's engine (or at least part of it) supports SEMI-TRANSPARENCY and full transarency, through the use of PNG textures on models.
Recently i tried it out with a simple cube and the result is good enough but there's a slight problem:
It works on the 3d model rendered in the ship selection screen inside the base but it doesn't work outside the base.
Thus the question: are there two render engines? Is there a flag that denies the handling of transparency during rendering of outside poly scenes?
Or has the transparency flag been disabled somehow in that case?
As Imago assured me some time ago, Alleg has now the capability (after the recent porting) to handle alpha channels. My PNG test demonstrated
(right pic or it didn't happen... follow the background TF logo through the cube, it's hard to notice if you don't look for it but it's there, if you could see it revolving it'd be obvious) that this is true, and it not only allows full transparency of black but it works on the overall opacity (alpha) of the whole texture.
I'd very much like to have it working in the main game too. Or at least i'd like to know why we can't restore this capability. It'd be very nice to have semi or full transparency in game, at least on visual account.
If i had any clue of how to handle alleg's code i'd try it myself but i do not have the right tools to delve deeper into this.
So if anyone has a clue, pm me.
Thanks.
Recently i tried it out with a simple cube and the result is good enough but there's a slight problem:
It works on the 3d model rendered in the ship selection screen inside the base but it doesn't work outside the base.
Thus the question: are there two render engines? Is there a flag that denies the handling of transparency during rendering of outside poly scenes?
Or has the transparency flag been disabled somehow in that case?
As Imago assured me some time ago, Alleg has now the capability (after the recent porting) to handle alpha channels. My PNG test demonstrated
(right pic or it didn't happen... follow the background TF logo through the cube, it's hard to notice if you don't look for it but it's there, if you could see it revolving it'd be obvious) that this is true, and it not only allows full transparency of black but it works on the overall opacity (alpha) of the whole texture.
I'd very much like to have it working in the main game too. Or at least i'd like to know why we can't restore this capability. It'd be very nice to have semi or full transparency in game, at least on visual account.
If i had any clue of how to handle alleg's code i'd try it myself but i do not have the right tools to delve deeper into this.
So if anyone has a clue, pm me.
Thanks.