Re: Rotation from 4 points

[email protected]
Newsgroups gmane.games.devel.algorithms
Message-ID <OF62A09545.5F14E5A1-ON802576B0.003B61E7-802576B0.003D565B@scee.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> How to extract one of these informations:
> 
> 1 - A quaternion representing the rotation

Hi there,

Just form the basis vectors and you have a matrix right away. Convert to 
quat. Done :)

I.e. Subtract your corner points from the 'central' point, and those are 
your basis vectors.

row 0 = D-A
row 1 = B-A
row 2 = C-A

Cheers, Paul.
**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify [email protected]
This footnote also confirms that this email message has been checked for 
all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United 
Kingdom
Registered in England: 3277793
**********************************************************************
P Please consider the environment before printing this e-mail

-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 2.9.1 (Build 287)
Charset: US-ASCII

wsBVAwUBS1WTBnajGqjtoMHxAQhirwgAmWoIGhiqB3qxlkaXVwQR1Tt2btMcJr02
Rg9mFOv9VeyJS4CbbMIglcAOePpo1C9J/4VWf+f0OE7ZTqEH3iu17ihj8Gr7nuim
RoDic0ebhbgce8osQquHCEhLEqNtoiUZBxA9VGASHgo/5sKTNHuBM9L45qJUkEPj
CSTvwMcTNLp07/XSBKVMFiGTX8twTDSSFaK9fuFZS9g81n86E8wC/GbUGN9miygO
3onNOhna6VpHGh+di9aE+cHCmoWkW/6grGudPLXEhnEWXV9y1X71ywoNbJxq7obG
Eet/k/0fNTqwW7RonuelmIBOq+6m+W+jr/QtP+tFhEmpwEb3PHyFFA==
=WdlI
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.