Monday 3 December 2012

One Step Forward and a Million Miles Back

Here we are once again. I did manage to complete the sound assignment. Working with FMOD was an enormous pain. Doing something in Ogre is bad enough. Having to learn and implement FMOD on top of that was a nightmare.

The hardest part of the assignment was getting the sounds to load in. Once that was accomplished, which was really just to change a boolean to false, the rest of the assignment either involved using commands built into FMOD to implement the features necessary for the question or coming up with a custom work-around. These usually amounted to a sort of jerry-rigging of code, but in the end they worked nonetheless.

I expected the Doppler Effect to be the hardest thing to implement, but once I figured out how to pass values to the sound channel so it would move with the Ogre Scene Node it was really straight forward. The hardest feature ending up being able to play only a user specified portion of each available sound. For that I used a combination of channel->setPosition and loop points.

Now all I have to do is make it presentable for Wednesday.

No comments:

Post a Comment