Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: Xetick on March 26, 2011

Title: [DESTRUCTION] Shatter
Post by: Xetick on March 26, 2011
After lacking a useful idea for almost the whole compo time I got one on the very last day. 8 hours of hard work later this is the result. It's not as polished as I would have liked it but the deadline is here so there is no time for that.

The entry shows a window that gets shattered over and over again. The window is rendered using a vononoi (worly noise) shader.
The window in itself is dynamically created in two ways.
If the window is going to be exploded its generated by a bunch of random points.
If its the 'rail gun' destruction effect the points are created as circles around the impact point in the window.
The point cloud is then triangulated and from those triangles shards are created that are in turn simulated using a verlet integrator.

I hope you like it and that it works on your machine.

Update: Realized I had an hour left. Did some color tweaks and fixed so he cycles between the two destruction modes.

[youtube]http://www.youtube.com/watch?v=kU_IHkRIISg[/youtube]
Title: Re: [DESTRUCTION] Shatter
Post by: Shockwave on March 27, 2011
Considering the short amount of time you spent on this it is extremely good!

I love those explosions, it's quite realistic.
Title: Re: [DESTRUCTION] Shatter
Post by: Hotshot on March 27, 2011
I have double click on plane9.exe and say

"Use the stand alone config appliction to configure the screensave"

Eh?  ???
Title: Re: [DESTRUCTION] Shatter
Post by: Shockwave on March 27, 2011
Use the "run" file
Title: Re: [DESTRUCTION] Shatter
Post by: LittleWhite on March 27, 2011
Really nice :)  :clap:
Title: Re: [DESTRUCTION] Shatter
Post by: Hotshot on March 27, 2011
So realistic and impressive :)

well done  :)
Title: Re: [DESTRUCTION] Shatter
Post by: rain_storm on March 27, 2011
Sorry but I'm gonna need a video for this one, no shader support
I like the idea.
Title: Re: [DESTRUCTION] Shatter
Post by: Xetick on March 27, 2011
Sorry but I'm gonna need a video for this one, no shader support
I like the idea.

I'll upload a video in a few hours
Title: Re: [DESTRUCTION] Shatter
Post by: Xetick on March 27, 2011
A video has been added for the ones that lack shader support
Title: Re: [DESTRUCTION] Shatter
Post by: Kirl on March 27, 2011
Awesome!  :clap:
Title: Re: [DESTRUCTION] Shatter
Post by: rain_storm on March 27, 2011
Thanks for the video, This is an awesome idea and you pulled it off well.
Title: Re: [DESTRUCTION] Shatter
Post by: Rbz on March 27, 2011
Nice glass window destruction 8)
Title: Re: [DESTRUCTION] Shatter
Post by: padman on March 27, 2011
Yup, that's really nice. Well done!  :clap:
Title: Re: [DESTRUCTION] Shatter
Post by: benny! on March 28, 2011
Well done!
Title: Re: [DESTRUCTION] Shatter
Post by: combatking0 on March 28, 2011
Cool - The different ways in which the glass shatters is most impressive.
Title: Re: [DESTRUCTION] Shatter
Post by: Xetick on April 02, 2011
After the deadline was over I did a few more tweaks to polish the effect. I just wish the voting was over so I can upload it and show it. :) Ohh well.. just 24 hours left
Title: Re: [DESTRUCTION] Shatter
Post by: Shockwave on April 02, 2011
Only a day to go :)
Title: Re: [DESTRUCTION] Shatter
Post by: Xetick on April 03, 2011
Now that the voting has closed I can finally show the tweaks that have been made to the effect. Next time I just hope I come up with an effect a bit more than 8 hours before deadline so I have time to polish it a bit.
It was a good competition and the ones that won truly deserved it!

[youtube]http://www.youtube.com/watch?v=8UcEGzIw_NI[/youtube]
Title: Re: [DESTRUCTION] Shatter
Post by: LittleWhite on April 03, 2011
The reconstruction is fabulous :)

We have the theme for next compo ... Recontruction (after demolishing everything, it's normal :D )
Title: Re: [DESTRUCTION] Shatter
Post by: Shockwave on April 03, 2011
I wonder if the second version would have won!

We will never know, but it looks as cool as hell!
Title: Re: [DESTRUCTION] Shatter
Post by: Xetick on April 03, 2011
Here is the exe also. Run the "run.bat" as with the real compo entry.
Most things can be changed in the scene. Just open the scenes/shatter.p9s file in any text editor.

What was changed since the compo version:

Requires a quite powerful cpu/gpu
Title: Re: [DESTRUCTION] Shatter
Post by: Kirl on April 03, 2011
Beautiful, quite amazing to see it blown to near dust and reconstruct again!

How many shards is that?  :o
Title: Re: [DESTRUCTION] Shatter
Post by: Xetick on April 03, 2011
How many shards is that?  :o

The first explosion in the video is about 2000 shards in each window the 2nd and 3rd explosions are closer to 30000 per window. In the exe attachment I have however lowed it to closer to 10000 to allow more people to run it.

The shard count is somewhat dynamic since he just randomizes points that are then triangulated.