Video grab for Psirens

Created a video of Psirens with fraps. A very good video-capturer of in game action.

Moonrocks threatening the earth…

Placed the procedural asteroids around the earth sphere. Added rotation, direction and speed. I was wondering if the procedural texturing would make the system bog down.

But it didn’t, so it won’t break a sweat on the Xbox 360 either I suppose. What takes a bit longer on the Xbox however is the creation of the rocks.

But that is probably because of the poor floating point performance of the Xbox.

I guess the Moon is finished…..

Rocky asteroids part III

Expanded the rock shader with some ambient lighting. This makes the asteroid look less flat and show some more of the structure.

This is medium complex asteroid that still looks a bit dark, but looks detailed from a distance.

This is the highest complex rock. It looks like coal. It is probably a good idea to add some white parts that looks like ICE.

Rocky asteroids part II

Developed a procedure to generate Perlin noise in a 3D Texture.

I got the idea to texture the asteroids this way from the Orange Book (OpenGL Shading Language, 2nd Edition (2006)), but I needed to convert the GLSL shader code to HLSL.

I am not a crack at that stuff so that was a bit hard to develop.

The benefit of this procedure instead of Projective texturing is that it always looks crisp and non distorted at any angle or distance.

It does’nt look lowpoly but in fact it is (light enable):

So everything about the rock is procedural now!!!

Now the next step is to smooth the asteroid, so that the lighting is more realistic.

And probably add some more irregularity. Some bump/normal mapping would make the asteroid more realistic.