Wednesday, September 12, 2007

Week 1

What have we done in week 1
This week our primary goal was to setup development environment and to implement device input functionality for mouse and keyboard. We also made it possible to control the camera.

Setting up the development environment was easy, we mostly followed the guides on OE's website. There were a few issues with getting OE to work on Mac (mostly getting Darcs installed :))

We didn't really have any decisions to make since the code to implement was pretty straight forward. One problem we had was with GetState() implementation. A MouseState has buttons, and we didn't know how to indicate that multiple buttons were pressed (in the documentation it said we could or them together, we understood this, but didn't know how to translate this to C++ [so it actually could compile]).

We have also implemented a camera controller using our SDL implementation. This wasn't that complicated.

Our experience with OE
We had some trouble getting into the code since the documentation is rather lacking - there is a need for more example code :) So the way we have understood the framework was by inspecting the code and figuring out how it works. Our first impression is that the code is pretty clean and the design patterns are easy to understand (factory and observer this week).

For development we currently use Emacs or VIM. We are thinking of using Eclipse in the future.

OE's website is simple and nice, but the it lacks quite some documentation (this is also understandable since it's first time the course has run).

No comments: