aitzolmuelas' blog

Blog focused in computer graphics mainly. Personal comments and opinions are also welcome.

Tuesday, November 20, 2007

CUBE(s)


Nothing interesting really, but since I was bored and fancied doing something with some simple macro and some radiosity, I figured I might as well post it.
And voila. This is it for now, I will keep posting on the Library/Cathedral project.
Cheers

Saturday, November 17, 2007

Library layout


Hello everyone

This is the main layout of the library I am working on at the moment: as you can see, it is more or less the layout of your typical cathedral, with the main nave and two transepts. The main difference is that, as opposed to most cathedrals, there is a double aisle on each side of the nave and also on each side of both transepts. As you can surely see, I am merely starting, but I have high expectations for this project.
Anyway, I will be sure to keep posting as the building grows.
Cheers

Friday, November 16, 2007

A Cathedral this time


Yup, I am indeed building a cathedral in POV-Ray. Or at least I have started. I will post as I progress. For the moment I have the pillars and arches of the main arcade. Well, actually the structure of the building is that of a cathedral, but I intend it to be a library eventually.
And now I am too sleepy to post any more.
Cheers

Friday, November 09, 2007

Going Hi-Res


Hello everyone
I decided to give some use to my computer at work (since I work on a remote server via Xming, there is no much use for the 3.6GHz P4 horsepower), and I made a 1280x1024, suitable as a screensaver, which by the way I do not expect even my friends to use it ;P But never the less, it has been a long time without posts, and I have to keep the place alive somehow.
Enjoy

Wednesday, August 29, 2007

Shader experimenting results






Hi everyone, I have been experimenting with stream-loading of larger 3D worlds, and these are the results. In this I have also used a minor form of collision (although it cannot be perceived in pictures XD), and real-time multitexturing for the terrain (I got the textures via Google images + TheGimp->MakeSeamless: not too neat, but does the trick). Also I did quite a lot of optimizing in the shaders: for those who might be interested, NEVER USE CONDITIONAL STATEMENTS WITHIN A SHADER, unless it is absolutely necessary, and enough computations are skipped with the condition as to compensate for FAILED BRANCH PREDICTIONS (if you want to know more, Google for "SIMD processors" and "pipelining"). One of these days I might post a more detailed explanation on how to avoid conditional statements via conditional masks, and other tricks to optimize shader execution I have discovered by chance ^_^. Until then, have fun.

Labels: ,

Thursday, July 26, 2007

Sun and Moon



Hi everyone! I managed to add the Sun, the Moon and some stars to the sky. I am a bit tired today, so I will leave the "making of"
details for another post. Cya

Friday, July 20, 2007

My first shaders


Hello everyone
As usual, long time without posting, but it has been a heck of a month. In July I started this course on shader programming for videogames, and here is what I made as a final project. It wants to be something similar to the world maps in Final Fantasy VII/VIII/IX, whith the little map and all ^_^. It uses shadow mapping, reflections, refractions, and the sky is rendered with a special shader that builds its color based on the sun and the camera (shame you cannot see it moving here ;P). If I make any improvements with it I will be sure to post them (I am thinking of adding stars in the night sky). Cya