Indierover: Indie game development and more

The monkeys are reading
crazy free box

How to use your programming skills in 3d design

September 7th, 2006

I work like a 3d designer for a studio called Glucogeno. I usually make virtual visits of 3d interiors and exteriors. They are usually videos with thousand of frames that take a lot of time in order to be rendered.

I use vray like renderer and despite it’s a great plug-in, sometime we have problems with it. For example, last day we were rendering a video, and after 200 frames we realized that in a place of the screen some strange red points were appearing:

You can imagine my boss wasn’t very happy with me. But… it was not my fault!

The 2d graphic designer of the studio were looking at the screen and said: well, I will have to fix them one by one by photoshop. What a crazy work! 200 frames!

So I started to think in something for making the work easier. I got quickly with the solution: LooverLib.

One year ago I developed a 3d-accelerated engine for 2d games (using direct 3d) called Looverlib (I’m sorry but the documentation is only in Spanish). It took me 2 years in order to finish it and its a very robust and useful 2d library.

One of the classes it has called LOV_Image has functions for managing images: getpixels, putpixels, filters, saving and loading in several formats, etc.

So I started to implement a really easy program in order to fix all the red points of the images. I finished it in 2 hours of working.

It works taking all the images and searching pixel by pixel for the red ones (using a scale of shades). When it finds a red pixel, he looks between the pixel that are near and are not red, and it takes the average shade of all them.

Simple but effective!

And so, my boss was really happy with me. Designer and programmer: two in one :)

4 Comments »

  1. estas hecho un crack ;D

    Comment by Alexpi — September 7, 2006 @ 5:48 pm

  2. SĂ­ que sĂ­, la verdad es q sĂ­.
    X cierto, deja de poner los posts en puto inglés que no hay un puto guiri a la vista q t lea!

    Comment by San Emiliano — September 8, 2006 @ 6:10 am

  3. I’m reading this so yes there are “guiris” reading this site.

    Comment by Somebody — March 24, 2007 @ 8:28 am

  4. Happy to read that!

    Comment by Indie Rover — March 26, 2007 @ 7:17 am

Comments RSS TrackBack URI

Leave a comment