5,389
edits
m (hex image link; Can we place the matrix stuff below the table and not in a cell?) |
m (fixed transform matrix was wrong) |
||
Line 48: | Line 48: | ||
{|border=1 cellspacing=0 style="white-space:nowrap" | {|border=1 cellspacing=0 style="white-space:nowrap" | ||
|1.819999||0.0||0.0 | |1.819999||0.0||0.0 | ||
|- | |||
|0.0||1.819999||0.0 | |||
|- | |- | ||
|0.0||0.0||1.819999 | |0.0||0.0||1.819999 | ||
|- | |- | ||
|0.0||0.0||0.0 | |0.0||0.0||0.0 | ||
Line 104: | Line 104: | ||
:The only transform that can't be handled by the quaternion+position is scaling/mirroring. | :The only transform that can't be handled by the quaternion+position is scaling/mirroring. | ||
:Thus, the fixed transform is a scaling matrix most of the time (no rotation or translation). | :Thus, the fixed transform is a scaling matrix most of the time (no rotation or translation). | ||
:In the above example, the fixed transform | :In the above example, the fixed transform scales the van up by 1.82 (along all three axes). | ||
;Quaternions | ;Quaternions | ||
:Those are used in Oni whenever interpolation of 3D 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]]) |