Author Topic: Feature enquiry - - Model / texture Alpha adjustment?  (Read 2322 times)

0 Members and 1 Guest are viewing this topic.

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Feature enquiry - - Model / texture Alpha adjustment?
Basic enough premise, similar in execution from fred to the Fade-in or out SEX-PEE. Specify a target and time it takes to fade, with a specidfied percentage from 0% to 100%.

What i wondered is how diffulty or feasible it would be to put into practice?

Please don;t misinterpret the first sentance, i am not assuming or saying that the feature is a zing-blitz-wallop tada finished matter. Hence my topic asking how much trouble it would be. Thanks for the time and effort people.

Much appreciated, also RC3 is FRICKIN SWEEEEEEEEEEET!
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Feature enquiry - - Model / texture Alpha adjustment?
Do you mean like a cloaking-device type fade-in?

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Feature enquiry - - Model / texture Alpha adjustment?
Not really although thats one of the things it could be used for. All i'd need is an alpha percentage and I could use chains to repeat if the timer is too much hassle.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Feature enquiry - - Model / texture Alpha adjustment?
But you are talking about transparency, correct?

If so, that might be a problem, because adding transparency to something that isn't normally transparent will seriously mess stuff up as far as the polygon sorting/depth-buffer order goes.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Feature enquiry - - Model / texture Alpha adjustment?
Hmm, ok ;) No problem.. Maybe a few years down the line,........... :nod:
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: Feature enquiry - - Model / texture Alpha adjustment?
Well, if your fading the whole model to zero, you could probably get away with being able to see opposing normals for a few seconds, and just set it so that if the transparency is 1, don't render the ship.

That said, writing it in English isn't quite the same as writing it in C++ ;)

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Feature enquiry - - Model / texture Alpha adjustment?
I gotta say, i'm so glad i can't code..........yet :nervous: I tried Darkbasic years agoi and Variables screwed my head up. Fred with KArajormas help clarified that point. And now the AGS engine is helping me get around functions..

Slowly slowly catchy monkey. :)


Back on topic, cheers for the heads up. If this will be too much trouple i'll have to resort to Adobe after effects.  :mad:

No worries anyway. Thanks again ultra cool SCP doods
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Feature enquiry - - Model / texture Alpha adjustment?
you should try lua, i find it less frustrating than other programming languages.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Feature enquiry - - Model / texture Alpha adjustment?
One possible way to do it would be to do two passes.:

First pass, don't change the color at all, but do depth buffer testing and writing, so you can find the closest fragment to be drawn.

Second pass, draw the model with depth testing. It can then be translucent, and only the closest polygons will be drawn.

Note, however, that if you wanted to generalize this technique, you would still need to sort the translucent objects.