Friday, February 15, 2013

Boxes in OpenTK

I'm just messing around in OpenTK for a while I wait for things to pick up. Random colored boxes was something that was a fad in WAYWO a while back, so I thought it'd be a decent post-hello world thing.

Then I took it further, loading textures into it:

Then I did one last thing, making a basic light that follows the mouse:


4 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Would love to see a tutorial on this or the source for the 3 versions...

    ReplyDelete
    Replies
    1. I'll see what I can do. I was just messing around, so my code wasn't that great or that efficient (it was all immediate mode too), and I didn't keep the first part, but I might be able to pull something out of it.

      Delete