Author Topic: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes  (Read 16279 times)

0 Members and 1 Guest are viewing this topic.

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
Here's a vid if you haven't seen it yet: http://www.youtube.com/watch?v=ScWqgReCRPk&hd=1

Zip file here: http://www.mediafire.com/?fpwko4ev1ccqfwq with a build, shaders, a patchfile for programmers, and a noise texture.

the shaders go into the data/effects directory and the noise texture in data/maps.

Please test some mission where cap ships blow up and report any oddness.
« Last Edit: April 12, 2012, 12:51:47 am by Valathil »
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Minecraft
    • Steam
    • Something
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
How did you...bwuh... :eek2:

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Minecraft
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
 :eek2: :jaw:
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Kolgena

  • 211
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
That's really cool. Much better than the jarring sharp line we have now.

A couple refinements to consider, no idea how hard they'd be to do:

Could the dissolving "plane" move at a variable pace? (preferably more rapidly in time with explosions, and slower in between explosions)
A particle effect of small hull pieces coming off the dissolving plane, as if it were crumbling into chunks rather than burning away like paper. These particles (if ambitious) could pull from the cap ships textures somehow.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
Wow. You keep to amaze me. The only thing (that I can think of now) that could enhance it would be implementing Kolgena's suggestion.

 

Offline Rga_Noris

  • 29
  • What?
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
Wow! You keep to amaze me too!
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
it's a miracle. a miracle

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
I can confirm that this works as advertised on ATI cards.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
I can confirm that this works the way its meant to be played.
Also, its super sweet and a huge improvement over the old clipping plane.  :yes:
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
http://youtu.be/04OcdUG5e5A?hd=1

[attachment deleted by a ninja]
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
Mega gorgeous. It'd be awesome if there were a way to 'plug the hole', so to speak, but I'm not sure how you'd go about it.

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
well there are bees and flowers ........
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Kolgena

  • 211
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
How did you-- never mind. So awesome.

(the only thing now is that it looks like hull is peeling away to reveal the same hull underneath where there's premodeled debris. Very mall price to pay. Could be fixed by retexturing debris to look less pristine)

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
yeah but like "upper armor plating is burning off or ****" also dont get too excited it seems the effect is really dependent on model size so i have to do a version where its dependent on the size. also this version i posted screws up the 3d ship select. Also ATI's have problems apparently. JUST PLAY IT THE WAY ITS MEANT TO BE PLAYED

EDIT: More to come 14.04.12 Real Life calls for duty
« Last Edit: April 12, 2012, 05:07:08 pm by Valathil »
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
I'm not sure the deformation really works, I mean technically it's cool, but it makes the ships seem too soft, and you are going to have issues with it going through debris and it's self.you might want to extend the width of the basic effect, so the burn time acts longer.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
im seeing some space through the ship that kinda breaks the illusion for me. is there any way to support any of the things from this thread to fill in the ship's holes with geometry.
http://www.hard-light.net/forums/index.php?topic=80098.msg1589929#msg1589929
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 Nighteyes

  • 211
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
It looks good, but I don't think it works so well currently, mainly because the line moves along the hull in a constant speed, giving the feeling the ship is peeling rather than exploding, the glowing line probably draws too much attention, so you notice it more than before when there was nothing.

is it possible to adjust the animation? so instead of the line constantly moving, it would stay in place for a second of so, than deform/vaporize at once, a section at a time, as if the hull is actually exploding a part at a time as the ship dies.
*the animation itself won't have to change, just the way it renders the effect

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
The most recently posted video looks beautiful to me. 

I feel like the thing getting in the way is the gigantic image of an explosion going on behind the ship. Although I know we could never get everybody to agree on a "best" explosion, I think we can agree that the way Vanilla Freespace handled explosions was mostly to hide the way big ships exploded.  I feel like there is probably a better way to get explosion bitmaps, flashes and effects like this to work together.

 

Offline Kolgena

  • 211
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
nooooo why must everything ATI break first distortion on thrusters now this

 
Re: Shader Based Dissolve as Enhancement for Capship Explosion Clipplanes
Now that's what an exploding ship should look like! Nice work on the skin blowing up :yes: