June 2009

Prototyping nukes (including HD video) – Updated

Update : Some people complained that the explosion didn’t look realistic, and after watching videos of real nukes I guessed they we’re right. So I revamped the explosion to make it look more realistic in itself, as well as adding several effects like a screen blind and shaking. So enjoy the new video below, it’s much better than the old one!

After releasing my explosion texture generator, I guess it’s now time to show you what I’ve been using it’s textures for. It’s for nukes, which will be used for the global projects that are weapons of mass destruction (e.g. atomic bombs). And as usual I implemented them in a separate prototype first, cause trying to get something like this tested and done so that it also looks nice in the final game would take much more time than just creating a new OpenGL project and testing things in there.

So without much words, here is a youtube video of the effect, but please remember to watch it in HD and don’t forget that it’s still work-in-progress and likely to change at least a bit until it’s made it’s final way into the game :

New tool : Explosion Texture Generator

While working on the global project feature of “Phase 2” for Projekt W, which will include weapons of mass destruction, and therefore some explosions, I needed a nice looking explosion texture with a working alpha channel. Sadly all the freeware explosion generators I tried did not offer a way to export the animation into a format with an alpha channel and moreover weren’t very flexible at all (especiall in terms of texture resolution or grid size). Therefore I decided to quickly put up my own explosion animation generator, and also decided to release it to the public. So here you go with the all new Explosion Texture Generator (in short ExploTexGen to go in line with my TerrTexGen), which is of course freeware, and the results may be freely used in your applications.

Here is a quick summary of it’s features :
– Create countless different explosions. Each explosion is randomized and all important parameters can be changed
– Exports to PNG complete with an alpha channel. No more black backgrounds and additive blending for your explosions anymore. The result texture inlcudes a full alpha channel
– Different texture sizes (from 256×256 up to 4096×4096, depending on wether your graphics card can manage that)
– Different grid sizes for setting the number of animation frames on a texture (4×4, 8×8, 16×16)
– Use your own particle textures. Either use the included ones I made from scratch or create your own particle textures and use them
– Change the parameters. All parameters used to calculate the explosion animation can be changed to make each animation unique
– Watch your explosion within the application. After generating a texture, it’s shown in realtime together with a preview of the animation.

And here are some screenshots :