Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Topgun on March 28, 2008, 04:49:51 pm

Title: How exactly do 3d shockwaves work?
Post by: Topgun on March 28, 2008, 04:49:51 pm
How exactly do 3d shockwaves work? Is it a animated texture or a expanding model?
Title: Re: How exactly do 3d shockwaves work?
Post by: Herra Tohtori on March 28, 2008, 04:55:12 pm
AFAIK it's an expanding model with a static main texture and an animated glowmap effect.
Title: Re: How exactly do 3d shockwaves work?
Post by: Titan on March 28, 2008, 04:59:08 pm
i want 2d shockwaves though...   :sigh:
Title: Re: How exactly do 3d shockwaves work?
Post by: Topgun on March 28, 2008, 04:59:59 pm
I mean 3d 2d shockwaves. like in the mediavps.
Title: Re: How exactly do 3d shockwaves work?
Post by: Snail on March 28, 2008, 05:27:40 pm
i want 2d shockwaves though...   :sigh:

Too bad.
Title: Re: How exactly do 3d shockwaves work?
Post by: Retsof on March 28, 2008, 05:40:20 pm
Has anyone made a shockwave that is more real?  Like an expanding bubble?
Title: Re: How exactly do 3d shockwaves work?
Post by: Aardwolf on March 28, 2008, 05:53:08 pm
Retail FS1 had that.
Title: Re: How exactly do 3d shockwaves work?
Post by: Retsof on March 28, 2008, 06:00:29 pm
I mean a 3D sphere.
Title: Re: How exactly do 3d shockwaves work?
Post by: Herra Tohtori on March 28, 2008, 06:33:31 pm
It wouldn't look good at all.

Volumetric explosions and shockwaves would be cool as hell, but having just a partially opaque glowing sphere would not look good as a shockwave, because it would be just a hollow expanding thin crust, while a visible shockwave would have some apparent thickness.

Making it look good woud require some seriously fancy shader work OR post-processing or something else to break the clean spherical form slightly. Otherwise, it would rock.
Title: Re: How exactly do 3d shockwaves work?
Post by: JGZinv on March 29, 2008, 12:09:32 am
If someone actually has a complete "sphere" explosion, it would be interesting to see.

The Corona device in Tach had that effect... except it did more damage to you, than anything else.
Title: Re: How exactly do 3d shockwaves work?
Post by: Nuke on March 29, 2008, 04:50:46 am
didnt i do a porcupineball or something awhile back, i dont know what happened to that thing, its not in nukemod. its just really hard to model big transparent things.
Title: Re: How exactly do 3d shockwaves work?
Post by: Snail on March 29, 2008, 04:52:16 am
didnt i do a porcupineball or something awhile back, i dont know what happened to that thing, its not in nukemod. its just really hard to model big transparent things.

I think I have something exactly like that from an old Nukemod dump. I'll check.
Title: Re: How exactly do 3d shockwaves work?
Post by: Nuke on March 29, 2008, 01:38:41 pm
ok, now i remember where i put it
Title: Re: How exactly do 3d shockwaves work?
Post by: Topgun on April 03, 2008, 11:13:52 am
ok, I am trying to make a 3dshockwave. do I need any tbm's? what exactly do I need to name the textures? I have the texture but it doesn't seem to work. it just keeps using the mediavps one.
Title: Re: How exactly do 3d shockwaves work?
Post by: Galemp on April 03, 2008, 12:09:19 pm
I made a bunch of these as demos back when this feature was first programmed in. Here (http://pjfoliver.googlepages.com/shock.zip) they are.