Re: SDL, OpenGL, and ray tracing
Since you're already working with OpenGL I suppose you remember the very first example in every SDL tutorial: Drawing pixels on screen. You already have the colors set, now simply draw them (Lock surface -> draw -> Unlock Surface-> Update).
I can't think of a better tutorial on starting with SDL than this: the3fold.free.fr/doc/games.pdf (It's a game programming guide but the introduction to SDL is great).
So, you were talking about that... ummm... that... errr...
Oh, yes, yes...
Bookmarks