Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
quaternions and matrices
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: quaternions and matrices (Read 1961 times)
raft
quad
Posts: 1976
quaternions and matrices
«
on:
February 03, 2010, 08:29:46 am »
for 2 rotations R1 and R2, let Q1 and Q2 quaternion representations and M1 and M2 matrix representations of these rotations. M1 and M2 are row major matrices like jPCT's
does Q1xQ2 represent the same rotation with M1xM2 ?
Logged
EgonOlsen
Administrator
quad
Posts: 11806
Re: quaternions and matrices
«
Reply #1 on:
February 03, 2010, 08:45:04 am »
I don't really know, but i would expect it.
Logged
raft
quad
Posts: 1976
Re: quaternions and matrices
«
Reply #2 on:
February 03, 2010, 10:17:37 am »
yes they seem they are. there was a typo in my ported quaternion which caused me almost gone mad
Logged
EgonOlsen
Administrator
quad
Posts: 11806
Re: quaternions and matrices
«
Reply #3 on:
February 04, 2010, 12:00:09 am »
Math is fun, isn't it?...
Logged
.jayderyu
long
Posts: 116
Re: quaternions and matrices
«
Reply #4 on:
February 04, 2010, 12:53:01 am »
Only when your familiar with the process. Otherwise it's a major pain in the @$$.
I remember working with Quaternion before. Just glad that jBullet used 3x3 matrices and JPCT matrice while 4x4 seem to work on 3x3
Logged
raft
quad
Posts: 1976
Re: quaternions and matrices
«
Reply #5 on:
February 04, 2010, 06:19:17 am »
Quote from: EgonOlsen on February 04, 2010, 12:00:09 am
Math is fun, isn't it?...
only if you are a masochist !@#$(*
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
quaternions and matrices