Quaternion Rotation VS Matrix Rotation

A comparison program


Key Details

Made using C++, SDL and OpenGL.

Final year University Assignment - Graded as a 1st.

Uses both Quaternion and Matrix calculations.

Had to create performance functions to output memory usage and time taken.

I used this information to compare the two methods in a report.

Source code on GitHub

Online version of the documentation


The first assignment for Graphics and Computational Programming in level H at Bournemouth University. Created using SDL and OpenGL. For this assignment we were told to implement a transformation using both Quaternion and Matrix calculations. We were then asked to create a program that could allow us to collect information about the transformation and to perform a comparison on the two methods. I implemented the Quaternion and Matrix calculation method for rotating an objects rotation and created this program to display the memory and time taken by each calculations and I used that information to compare the two in my report. This assignment was graded as a first.

© 2024 Jamie Slowgrove