05-17-2004, 03:28 AM

im just learning to do rotations with matrices. At this point i prefer not to the higherlevel glrot commands.

If i load amodel i want to provide an autorotate function, so the user can activate an automated rotation across x,y,z or all these 3axis at once.

should i make 3 seperate matrices, one for each axis then multiply them together, then pass to the glmultimatrix function, or is there a way to make the required matrix that accounts for all rotations in 1 matrix ?

Also can anyone suggest an algorithm that would exhibit the model in a realy nice rotational way so that it systematicly rotates to every side and angle of the model

thanks for any help

If i load amodel i want to provide an autorotate function, so the user can activate an automated rotation across x,y,z or all these 3axis at once.

should i make 3 seperate matrices, one for each axis then multiply them together, then pass to the glmultimatrix function, or is there a way to make the required matrix that accounts for all rotations in 1 matrix ?

Also can anyone suggest an algorithm that would exhibit the model in a realy nice rotational way so that it systematicly rotates to every side and angle of the model

thanks for any help