Transparency on/off

Discussion area for user-created Allegiance models, textures, voicechats, music, and other ingame content.
Post Reply
raingriffin
Posts: 145
Joined: Wed Jul 01, 2009 12:23 pm
Location: Italy

Post by raingriffin »

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.
-sing- Just always look on the bright side of life -whistle, bow to monty python's Life of Brian-

Image
Zero_Falcon
Posts: 413
Joined: Tue Jun 03, 2008 5:14 am
Location: Singapore

Post by Zero_Falcon »

Alleg supports alpha channels?

I didn't know that... :o
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

Haphazardly, apparently.

Rain: To emphasize your point: It doesn't work in game:
Image
ImageImage
raingriffin
Posts: 145
Joined: Wed Jul 01, 2009 12:23 pm
Location: Italy

Post by raingriffin »

a small detail i feel free to add is: transparency works in the targetting view as it does within base. So Spin was probably right and the render works differently in these two instances that with the main engine.

@zero falcon
Yes Alleg does, also, if your interest is more in the direction of reticles and huds, you will have less problems there than with the models proper. Wabbit is doing a splendid work in that sense.
-sing- Just always look on the bright side of life -whistle, bow to monty python's Life of Brian-

Image
Solamnus
Posts: 1391
Joined: Mon Jul 09, 2007 12:26 pm
Location: istanbul
Contact:

Post by Solamnus »

is that the borg cube of doom? :P
ImageImageImage <Gandalf> RT are the gentlemen of this gameImage
raingriffin
Posts: 145
Joined: Wed Jul 01, 2009 12:23 pm
Location: Italy

Post by raingriffin »

nope, just a test texture on one of the quickest alleg models ever ;)
-sing- Just always look on the bright side of life -whistle, bow to monty python's Life of Brian-

Image
Zero_Falcon
Posts: 413
Joined: Tue Jun 03, 2008 5:14 am
Location: Singapore

Post by Zero_Falcon »

raingriffin wrote:QUOTE (raingriffin @ Feb 14 2011, 05:18 PM) @zero falcon
Yes Alleg does, also, if your interest is more in the direction of reticles and huds, you will have less problems there than with the models proper. Wabbit is doing a splendid work in that sense.
`rc
Malicious Wraith
Posts: 3170
Joined: Sun Jul 16, 2006 12:51 am

Post by Malicious Wraith »

This should inspire a new faction.

Quick, to the drawing boards! There must be a cube faction! (Added fun for all the math geeks.)
Unknown wrote:[Just want] to play some games before Alleg dies for good.
I don't want that time to be a @#(!-storm of hate and schadenfreude.
IG: Liquid_Mamba / Fedman
raingriffin
Posts: 145
Joined: Wed Jul 01, 2009 12:23 pm
Location: Italy

Post by raingriffin »

TwoWeeks for a new cube faction! +1
-sing- Just always look on the bright side of life -whistle, bow to monty python's Life of Brian-

Image
TurkeyXIII
Posts: 1460
Joined: Thu Dec 06, 2007 3:18 am
Location: Melbourne, Aus

Post by TurkeyXIII »

At least you won't have any hitbox debates!
QUOTE (Randall Munroe)14.2: Turkey consumption rate of the average American in milligrams per minute[/quote]
Image
Post Reply