OBD:OBAN: Difference between revisions

m
oops
m (cleanup)
m (oops)
Line 106: Line 106:
:In the above example, the fixed transform performs a scaling and also swaps Y and Z axes.
:In the above example, the fixed transform performs a scaling and also swaps Y and Z axes.
;Quaternions
;Quaternions
:Those are used in Oni whenever interpolation or rotation is involved (e.g., [[OBD_talk:TRAM/raw0x34#Quaternions|TRAM rotation]])
:Those are used in Oni whenever interpolation of 3D rotation is involved (e.g., [[OBD_talk:TRAM/raw0x34#Quaternions|TRAM rotation]])
:In this case, rotation at intermediate frames is interpolated from the keyframe quaternions.
:In this case, rotation at intermediate frames is interpolated from the keyframe quaternions.