Author Topic: Sunglares & Explosions  (Read 4421 times)

0 Members and 1 Guest are viewing this topic.

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Sunglares & Explosions
CptWhite on the TBP internal forum mentioned a neat idea.  Sunglares for exploding ships.

Basically, the idea is that when a ship explodes, in addition to its explosion and shockwaves, there is also a brief brightening in the screen if your looking directly at the vessel that has just gone up.  Its been a common special effect since the days of Wing Commander.

I propose a $ExpGlare tag that specifies the level of glare.  For instance $ExpGlare: 0.0 would do it FreeSpace 2 standard mode with no glare.  $ExpGlare: 1.0 would fully white out the screen for that brief moment when the ship goes up.  I suspect that something like 0.6 through 0.8 would do nicely for most large capital ships.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Solatar

  • 211
*bump*

I like the idea.

 

Offline diamondgeezer


 
would look nice, good ideae!
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
:yes:

Sound's good. and perhaps the bigger the ship, the brighter the glow, so a Sath would blind you.

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Quote
Originally posted by Petrarch of the VBB
:yes:

Sound's good. and perhaps the bigger the ship, the brighter the glow, so a Sath would blind you.

Thats the idea.  So roasting marshmellows would have a whole new meaning :)
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline aldo_14

  • Gunnery Control
  • 213
Or, base the glow proportionally on the blast (or whatever it's called) / shockwave stting in the tbl.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by aldo_14
Or, base the glow proportionally on the blast (or whatever it's called) / shockwave stting in the tbl.


Great idea.  And allow a $Special Glare mod just like $Special Exp. :yes:

 

Offline LAM3O

  • 25
A very good idea, reminds me of this thread:
http://www.hard-light.net/forums/index.php/topic,12050.0.html


 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
now just rendering a bit map would be extreemly easy,
I know that the flash thing isn't too hard but I don't know how any of it works so I'll let someone else do it
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 Petrarch of the VBB

  • Koala-monkey
  • 211
what sort of parameters would the specialglow thing have, though?

Things like radius, brightness, colour etc?

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Quote
Originally posted by Petrarch of the VBB
what sort of parameters would the specialglow thing have, though?

Things like radius, brightness, colour etc?

Just like when you look at a sun.  It glares....except the glare would be present for a second or less while looking directly at a large ship exploding.

So...expolosion, explosion, ship breaks apart, white flash, fading flash, explosions and debris spewing out.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
nah, make a flash with each shockwave.
SCREW CANON!

 

Offline diamondgeezer

If the player wasn't looking at the exploding ship, would the glare effect still be drawn, ie. draining system resources?



Good God, a half-way intelligent question. I think I need to lie down in a dark room for a bit...

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Quote
Originally posted by diamondgeezer
If the player wasn't looking at the exploding ship, would the glare effect still be drawn, ie. draining system resources?



Good God, a half-way intelligent question. I think I need to lie down in a dark room for a bit...

I would hope not...but its probably a fairly simple thing anyways.  It'd be just like a sun glare....FS2 has no problems with those.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline ZylonBane

  • The Infamous
  • 29
Quote
Originally posted by diamondgeezer
If the player wasn't looking at the exploding ship, would the glare effect still be drawn, ie. draining system resources?
The FS2 sun glare doesn't draw anything. It just makes everything onscreen bright and washed-out.

So basically, everytime a shockwave ani is triggered, this code would temporarily create a local-space "sun" light point (as opposed to the regular suns which are infinitely distant), which would start at maximum intensity and then drop off in synch with the frames of its shockwave, hitting zero by frame 10 or so.

Something like that.
ZylonBane's opinions do not represent those of the management.