A Configurable ShockWave class for space explosions
A Configurable ShockWave class for space explosions
Hi All,
This is a demo of a shockwave generated in space when something explodes
CLICK HERE TO DOWNLOAD MPEG MOVIE / HIRES IMAGE
In this shot the shockwave is generated from the asteroid.. i am right now working with the code for collision detection with the shockwave... thempeg movieshould give you an idea as to how the stuff looks in realtime
the class is configurable enough to allow any kind of skin colour or orientation of the shockwave.. you can also control the starting / end size of the shockwave and the speed of the shockwave..
this is being done as a part of the Blaze : Proving Ground project
This is a demo of a shockwave generated in space when something explodes
CLICK HERE TO DOWNLOAD MPEG MOVIE / HIRES IMAGE
In this shot the shockwave is generated from the asteroid.. i am right now working with the code for collision detection with the shockwave... thempeg movieshould give you an idea as to how the stuff looks in realtime
the class is configurable enough to allow any kind of skin colour or orientation of the shockwave.. you can also control the starting / end size of the shockwave and the speed of the shockwave..
this is being done as a part of the Blaze : Proving Ground project
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Nice. I'd add some motion blur to the wave so it looks more dynamic. You use alpha channel anyway so it should be easy. You could make a transition from the texture to transparent inside and outside the ring (blur the edges generously). If the texture structure would be destorted towards the center it would be even better.
jox
jox
It is like it is. And because it is like it is, things are like they are.
hi jox,
i am planning to do that with shaders in the final cut anyway.. i believe vertex / pixel shader / HLSL is designed just to do such tasks and efficiently at that...
this should squeeze out a few extra cycles
for older cards i am thiking about using a reflection 2 layer material for the shockwave base texture and the sheen
i am planning to do that with shaders in the final cut anyway.. i believe vertex / pixel shader / HLSL is designed just to do such tasks and efficiently at that...
this should squeeze out a few extra cycles
for older cards i am thiking about using a reflection 2 layer material for the shockwave base texture and the sheen
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
hi jox,
can you write out in psuedocode what you mean.. i can implement it if i get a handle on what you are suggesting
i think i misunderstood at first...
can you write out in psuedocode what you mean.. i can implement it if i get a handle on what you are suggesting
i think i misunderstood at first...
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
-
- Posts: 237
- Joined: Thu May 27, 2004 3:18 pm
- Location: Canada
Here is an example that I quickly created with the "radial blur" flter in photoshop:
Of course it needs a proper alpha channel.
I think best would be to have the texture (radially) distorted and the alpha channel blurred (gaussian would be sufficient I guess).
Of course it needs a proper alpha channel.
I think best would be to have the texture (radially) distorted and the alpha channel blurred (gaussian would be sufficient I guess).
It is like it is. And because it is like it is, things are like they are.
did some tinkering with the textures...got some alpha stuff working
using an inverted color version of jox's texture
I still have not gotten the UV mapping correct
now these are using some GIMP tinkering with a texture of mine
using an inverted color version of jox's texture
I still have not gotten the UV mapping correct
now these are using some GIMP tinkering with a texture of mine
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
dont know if this helps any:
http://www.idigitalemotion.com/tutorial ... kwave.html
http://www.infinite-fire.net/tutorials/ ... /shockwave
http://www.idigitalemotion.com/tutorial ... kwave.html
http://www.infinite-fire.net/tutorials/ ... /shockwave
Try this one:
http://www.mindfloaters.de/irrlicht/dow ... kwave1.zip
it's a 32 bit TGA with an alpha channel. Here is an example on how it should look in irrlicht:
http://www.mindfloaters.de/irrlicht/dow ... kwave1.zip
it's a 32 bit TGA with an alpha channel. Here is an example on how it should look in irrlicht:
It is like it is. And because it is like it is, things are like they are.
Oh, it looks that you are using a mesh in form of a ring for that.. Is that so?
You can save some polygons when you just take a square plane (2 tris) and map the texture on it. The aplha channel creates the ring for ya, so no need of a ring mesh. its also more flexible.
for testing you could use a TestSceneNode and scale one axis to 0. Easy.
jox
You can save some polygons when you just take a square plane (2 tris) and map the texture on it. The aplha channel creates the ring for ya, so no need of a ring mesh. its also more flexible.
for testing you could use a TestSceneNode and scale one axis to 0. Easy.
jox
It is like it is. And because it is like it is, things are like they are.
yes i am using a torus mesh...
i shall give the test node a try...
i am switching to a sphere for the explosion body and shockwave for the blast effect... i think the blast wave can be the test node scaling thingie
i shall give the test node a try...
i am switching to a sphere for the explosion body and shockwave for the blast effect... i think the blast wave can be the test node scaling thingie
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Hey Jox,
your idea works like a charm...
i got the shockwave looking cool as you can see from the screenshot...
and i updated the MPEG movie of that
CLICK HERE TO DOWNLOAD MPEG MOVIE / HIRES IMAGE
your idea works like a charm...
i got the shockwave looking cool as you can see from the screenshot...
and i updated the MPEG movie of that
CLICK HERE TO DOWNLOAD MPEG MOVIE / HIRES IMAGE
---
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com
Saurav Mohapatra
author, artist and bona fide geek
web: http://www.mohaps.com
email: mohaps AT gmail DOT com