| further reading | more topics » |
| mjbWorld program | 3D theory |
3D physics |
3D maths |
3D programming | technology |
about site |
sitemap A-Z |
| index | principles | mechanics | kinematics | dynamics | relativity | quantum | other |
| index | position | translation | lin velocity | lin acc | frame of reference | joints | code |
| orientation | rotation | ang velocity | ang acc | ||||
| combined | combined | combined | combined |
By: nobody ( Nobody/Anonymous )
Physics - Kinematics - Orientation Comment
2003-04-09 20:35
After reading orientation page I have some comments on orientation. I am sure
you already know this. Lookat function I have seen have an up vector. As long
the vector from the eye to the lookat point is not parallel to the up vector
you can find normals to build the new rotation matrix. Then to turn an object
from the current rotation to the lookat rot you would interpolate between matrixes.
I have only seen the interpolation along the shortest rotational path.
By: martinbaker ( Martin Baker )
RE: Physics - Kinematics - Orientation Comment
2003-04-10 02:29
Thanks for your message and for pointing out the relevance of the lookat function.
I think it would be useful to put some code for lookat on this page (do you
know of any copyright free code that I would be free to include here?) [I
have now added this]
I think the example I was giving assumed that the observer was at the centre
of the earth (in which case all directions are up), not a very practical example!
Also perhaps this is starting to overlap with the discussion about defining
coordinate systems:
http://www.euclideanspace.com/maths/geometry/coordinatesystems/index.htm
So perhaps, on this page, I should assume that there is already a coordinate system defined, and also a local coordinate system for the object. In which case defining the orientation becomes a question of relating the angles of the local coordinate system to the global coordinate system?
Thanks,
Martin
By: nobody ( Nobody/Anonymous )
RE: Physics - Kinematics - Orientation Comment
2003-04-13 17:28
I agree with what you have said here. Whenever you are using LookAt it implies
you are moving from a known/current rotation to a new rotation. This is useful
because every object will have a known rotation.
|
metadata block
|
|
| see also: |
|
| Correspondence about this page | Discussion Forums: Open Discussion |
|
Book Shop - Further reading. Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them. |
|
|
Commercial Software Shop Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them. |
|
|
Can you help? Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page. |
|
|
progam I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here: |
|
This site may have errors. Don't use for critical systems.
Copyright (c) 1998-2008 Martin John Baker - All rights reserved - privacy policy.