| further reading | more topics » |
| mjbWorld program | 3D theory |
3D physics |
3D maths |
3D programming | technology |
about site |
sitemap A-Z |
| index | algebra | geometry | calculus | graph theory | statistics | principles | standards |
| index | equations | multi-dim | vector | matrix | complex | clifford | groups |
| index | complex | quaternions | octonion |
index |
transforms |
arithmetic |
functions |
orthogonal |
SLERP |
code |
alternative notations |
By: Nobody/Anonymous - nobody |
Case : We have 2 quaternions. |
| By: Martin Baker - martinbaker 2006-01-15 11:03 |
Anthony, |
By: Nobody/Anonymous - nobody |
Hi Martin, |
By: Nobody/Anonymous - nobody |
Hi Martin, |
By: Nobody/Anonymous - nobody |
Hi Martin, |
By: Martin Baker - martinbaker |
"How is one expected to know what the
value of theta is before one does the slerp?" |
By: Nobody/Anonymous - nobody |
Try as as I might (and Martin, I ALMOST have SLERP
working with the info you've kindly posted), nothing seems quite
right. Surely there is someone on the board who could write some
pseudo-code (bugger structures - keep it simple - and so on) to
show how this works, and which users of any language would find
easy to implement. |
By: Martin Baker - martinbaker |
"How is one expected to know what the
value of theta is before one does the slerp?2 |
By: Nobody/Anonymous - nobody |
Hi all. Regarding some example
"generic" SLERP code: |
By: Nobody/Anonymous - nobody |
My SLERPY maths seeem to be working (sorta) under
GLUT - but there seems to be a problem with t. Sticking rigidly to
the formulae on Martin's ite, I always start with t = 0 and have
it rise to 1.0. This can mean that *what I actually SEE* is my
SLERP occuring backwards and only as t nears 1.0 - i.e.
PORKED. |
By: Martin Baker - martinbaker |
Anthony, |
By: Nobody/Anonymous - nobody |
Hi Martin, |
By: Nobody/Anonymous - nobody |
I see my error here... thinking that t was somehow
"time" rather than just a scalar, and hence I
tried to control it like a shuttle on a VCR machine. But in your
code snippet Martin, you seem to be able to be testing it - I
understand the logic, just not how to do it. |
By: Martin Baker - martinbaker |
I suspect that that: |
By: Nobody/Anonymous - nobody |
Hi Martin, |
By: Martin Baker - martinbaker |
If you want to blend between two fixed
orientations then I think it makes sense to setup qa and qb before
the loop and display qm each time through the loop. |
By: Nobody/Anonymous - nobody |
Hi Martin, |
|
metadata block |
|
| see also: |
|
| Correspondence about this page | |
|
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. |
|
|
Terminology and Notation Specific to this page here: |
|
|
program 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.