Re: [Algorithms] Rotation from 4 points
Brought to you by:
vexxed72
From: Jose M. <jos...@ya...> - 2010-01-21 09:46:50
|
!!! Sure! You are right, Paul! Easy and clever solution, thank you ! Jose --- Em ter, 19/1/10, Pau...@sc... <Pau...@sc...> escreveu: > De: Pau...@sc... <Pau...@sc...> > Assunto: Re: [Algorithms] Rotation from 4 points > Para: "Game Development Algorithms" <gda...@li...> > Data: Terça-feira, 19 de Janeiro de 2010, 9:15 > -----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 pos...@sc... > 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 > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > ____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com |