By: Nobody/Anonymous - nobody |
Case : We have 2 quaternions. |
By: Martin Baker - martinbaker RE: What exactly is a SLERP? 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. |
|
Terminology and Notation Specific to this page here: |
|
This site may have errors. Don't use for critical systems.
Copyright (c) 1998-2023 Martin John Baker - All rights reserved - privacy policy.