Archive for February 21st, 2008

Blood puddle

Thursday, February 21st, 2008

Added a “blood puddle” effect to Konoko Payne. It’s a lot of technology just for a small effect:

  • the puddle is a dynamic mesh computed using marching squares. The shape is random and different each time the effect is called.
  • the mesh is then rendered to a texture
  • texture color is a base blood color modulated by Perlin noise. Transparency also uses Perlin.
  • the texture is then rendered to the ground below the character, using projective texturing
  • plus all the usual culling management to avoid doing that all the time

The effect is only played when you finish opponents with the pistol (Black Adder). It doesn’t appear when you finish them with hand-to-hand combat, that way the effect is not over-used.

In the end, it looks quite effective - especially in motion when the puddle grows and grows below the character.

Blood puddle

Painful web-hosting

Thursday, February 21st, 2008

Don’t tell me it’s happening again. My website was down all day long. I just switched from one web hosting company to another, because the previous one had fucking lame miserable support and broken servers. I hope I didn’t go from Scylla to Charybdis here.

If you know a serious, rock-solid web hosting company, feel free to drop me a line about it.

shopfr.org cialis