06-11-2022, 09:05 PM
The Quaternion question is very interesting to me, but unfortunately I'm not sure I haven't really done any OpenGL stuff using QB64 before and most of what I've done used OpenGL shaders which work a bit differently.
That said, while it has been awhile I'm pretty sure in most (or maybe all) cases quaternions were just used in the program and weren't given to OpenGL, it would just receive the resulting model matrix after I had use the quaternions to produce it. So Ex. I would store the orientation of a model as a quaternion, but then when drawing the object I would convert the orientation into a rotation matrix and use the rotation matrix (along with translation, scaling, or other transformations) to produce the model matrix for OpenGL to use. So looking at it I think
> Is heat really an issue?
It's notable that most modern processors will start throttling themselves if they get too hot, so running the CPU too hot can actually reduce performance until it cools down.
That said, while it has been awhile I'm pretty sure in most (or maybe all) cases quaternions were just used in the program and weren't given to OpenGL, it would just receive the resulting model matrix after I had use the quaternions to produce it. So Ex. I would store the orientation of a model as a quaternion, but then when drawing the object I would convert the orientation into a rotation matrix and use the rotation matrix (along with translation, scaling, or other transformations) to produce the model matrix for OpenGL to use. So looking at it I think
glMultMatrixis want you want, but you have to compute the matrix yourself.
> Is heat really an issue?
It's notable that most modern processors will start throttling themselves if they get too hot, so running the CPU too hot can actually reduce performance until it cools down.