I have the info of the normal vector .... on each vertex .....
But I am having a problem with translating the vector into rotation values....
I need that in mel no extra nodes please...
thank you
I have the info of the normal vector .... on each vertex .....
But I am having a problem with translating the vector into rotation values....
I need that in mel no extra nodes please...
thank you
You cant! A normal does not contain enough information for you to do this.
Howver if you have some reference startig point you can!
Ok, so let's say I have a position in space that I want to rotate around, and a normal vector.
How do I calculate the position of the object I want to rotate around the point?
I know how to do this with particles using velocity, but I would like to know how to do it with position.
If you have any links to pages that go over the math involved that would be cool too.
(My math is a bit rusty, and I'm not quite sure where to start looking.)
Thanks,
~Mike D.
in that case its opssible because you can generate a vector from this reference to the normals base and use a cross product to generate a additional direction and 2 vectros can describe a angle quite perferctly.
However the repositioning is bit more predictabe if you had a reference normal. Or you could use the surfaces u or v direction as this normal.
Do a search on axis angle to euler conversion!
Thanks!
That was just the search I was looking for.
Now I just have to learn some matrix algebra, whoohoo!
~Mike D.