Thursday, February 10, 2011

Another week

On this week's issue we have triangles, in different shapes and colors. We also have a teapot.

I played with the GLSL examples, the triangle one, and changed its color:


Made it smaller:

Since one wasn't enough, I made 2 of them:




 And that was it with the samples.

I then looked into a frame buffer tutorial, made it a project, went step by step and I got a rotating teapot:

And I also read some more. I am re-reading some of my resources since I am closer now to actually doing something that directly has to do with deferred shading.
The end.

I am now in the process of adding the frame buffer to my project. I had it as a Windows Application, hence the GUI, but I think I am changing it to a console application (bye bye GUI). We'll see how that goes. (Opinions, anyone?)

And that is that.

Plan for next week:
- get the frame buffer in, at least depth pass

1 comment:

  1. Not sure how applicable this is, but here's a really neat GLSL shader toy: http://www.iquilezles.org/apps/shadertoy/

    It's using GLSL for WebGL specifically, but maybe you can use the samples there as inspiration or to create a test pool for your project.

    ReplyDelete