0
$\begingroup$

I’m stuyding computer animation with this book, Computer animation by The Morgan Kaufmann series. The explanation for translation from object space to world space is difficult to understand. In more detail, what I thought is not same to the textbook.

I have read this article, but I’m not sure is it helpful to solve this problem. How to convert from Object space into World space (exercise from 3D Math Primer book)

object space to world space

This is the way that I understood vs the textbook explains. Explanation

The difference between two of them is what is the orientation vector in z? The book explained that the endpoint of the orientation vector is at 0,0,sqrt(50). But why suddenly sqrt(34) came up?.. I don’t know why the the endpoint should be in 0,0,sqrt(50). Is it would be in 5? It is so confused to me.

[Textbook explains] enter image description here

$\endgroup$
1
  • $\begingroup$ You drew the picture wrong. When the vector $(0,0, \sqrt50)$ is rotated so it's $y$ coordinate is now $-4$ the Z value would automatically decrease. You subconsciously elongated that vector to think it's Z value is still lying at $\sqrt50$. Think of it like this, are the vector $(1,0)$ and vector $(1,1)$ of the same length? The answer is no, if you can figure that out using the pythagorean rule you will get your answer :) $\endgroup$ Oct 21, 2022 at 5:25

1 Answer 1

1
$\begingroup$

Thanks for comment, and I got an answer.

It looks like the first z vector is not illustrated. Vector1 represents the orientation z-vector, and 1 is rotated by x-axis for the y-coordinate to be -4

enter image description here

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.