Jump to content

OBD talk:TRCM: Difference between revisions

m
+cat
No edit summary
m (+cat)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
when composing a ''static'' body of them (i.e. when ''not animating'' the character), one at first rotates a particular body part in the order: z, y, x; then translates the bodypart to the vector from the TRTA array, and then applies parent body part's transformation to it
when composing a ''static'' body of them (i.e. when ''not animating'' the character), one at first rotates a particular body part in the order: x, y, z; then translates the bodypart to the vector from the TRTA array, and then applies parent body part's transformation to it


the rotation values for OpenGL coordinate system are: (took it from OniBrowser and modified some angles)
the rotation values for OpenGL coordinate system are: (took it from OniBrowser and modified some angles)


<code>
(PI/2, PI, PI/2),    // pelvis
<pre>
(PI/2, PI, PI/2),    // pelvis
(0, PI, 0),          // left thigh
 
(0, 0, 0),            // left calf
(0, PI, 0),          // left thigh
(0, 0, 0),            // left foot
(0, 0, 0),            // left calf
(0, 0, 0),            // left foot
(0, PI, 0),          // right thigh
 
(0, 0, 0),            // right calf
(0, PI, 0),          // right thigh
(0, 0, 0),            // right foot
(0, 0, 0),            // right calf
(0, 0, 0),            // right foot
(0, 0, 0),            // mid
 
(0, 0, 0),            // chest
(0, 0, 0),            // mid
(0, 0, 0),            // neck
(0, 0, 0),            // chest
(0, 0, 0),            // head
(0, 0, 0),            // neck
(0, 0, 0),            // head
(PI/2, PI/2, PI/2),  // left shoulder
 
(0, -PI/2, -PI),      // left arm
(PI/2, PI/2, PI/2),  // left shoulder
(0, 0, 0),            // left wrist
(0, -PI/2, -PI),      // left arm
(-PI/2, 0, 0),        // left fist
(0, 0, 0),            // left wrist
(-PI/2, 0, 0),        // left fist
(-PI/2, -PI/2, PI/2), // right shoulder
 
(0, PI/2, -PI),      // right arm
(-PI/2, -PI/2, PI/2), // right shoulder
(0, 0, 0),            // right wrist
(0, PI/2, -PI),      // right arm
(PI/2, 0, 0)          // right fist
(0, 0, 0),            // right wrist
(PI/2, 0, 0)          // right fist
</pre>
</code>
;ku4um
;ku4um
:Please don't "modify some angles".
:Please don't "modify some angles".
Line 46: Line 42:


[[User:Neo|Neo]]
[[User:Neo|Neo]]
{{OBD}}