I love the smell of code in the morning.
Today I churned out 777 lines of code. An oddly auspicious number, don’t you think? I didn’t even try to get that… but wc says that’s how many lines I have.
I now have a resizable GLUT drawing window that will respond to keyboard events. I have a camera that behaves the way I want it to (thus far), although I’ve only created left and right pans. Up and down pans, and translates, are forthcoming.
Once the simple interface is complete, I can move beyond my silly little test triangle and start building the scene. I’ll need to learn how to use OpenGL and GLU to be able to draw stuff, but first I need to come up with a vision…
I’m hoping that having a decent viewing system, allowing me to fly through my scene, will save me time later in the form of not having to render and open individual frames. Also, this way, I can do basic animation. Assuming I figure out how to do anything more than make the test triangle rotate…
Leave a Reply to carpenterCancel reply