This week I re-examined my time frame and realised that it would be difficult to learn to program an entirely new concept such as morphing, so I looked at all the available questions again and found that number 7 was a fairly simple camera assignment. I am happy to say that after only a few hours of work I am about 95% done that question and should be ready to present well before Friday.
My main problem going into the question was that it required an object to be going moving on its own so that one of the cameras could always be focused on it. I'd never done that before, so working out some of the logic behind it took probably the longest chunk of time.
My other problem came about when I tried to implement the maya camera as the fifth camera and ended up with an un-handled exception problem. I'd had problems with the maya cam before, so I sort of half expected it to happen, but unfortunately didn't know how I was going to fix it. After looking through other assignments I'd done that had a working maya cam, I realised that in my haste I had included the attach camera code but had neglected to create a separate camera for that particular one. Basically I had 5 attach camera commands and 4 available cameras. Once I fixed that it worked perfectly, and now all I really have left is to draw each camera's position and frustum.
No comments:
Post a Comment