logo back up home forward   further reading more topics »

Maths - Forum discusion with Hauke

By: Hauke (haukeheibel) - 2007-04-26 00:41
Hi there, 
 
First of all thanks for the nice web-site. Optically it could be nicer but the content rocks! 
 
So here are my minor remarks regarding the conversion between axis angle representation and matrix representation. 
 
a) When substituting the basis vectors of the plane perpendicular to the rotation vector for the first time, you change the order of the cross product between basis2 and the rotation axis without changing the sign. You are writing: 
 
------------- begin cite ------------- 
 
P2 = P1 + (cos(angle) - 1) * basis1 + sin(angle) * basis2 
 
substituting the basis values above gives: 
 
P2 = P1 + (cos(angle) - 1) * (axis × axis × P1) + sin(angle) * axis × P1 
 
-------------- end cite -------------- 
 
whereas the last line should in my humblest opinion be: 
 
P2 = P1 + (cos(angle) - 1) * ((axis × P1) × axis) + sin(angle) * axis × P1 
 
As you can see I also added brackets around the substitution of basis2, since the cross product is not associative. 
 
b) In the diagram where you are visualizing the plane being perpendicular to the rotation vector, the rotation vector and the point to be rotated, basis2 should actually point in the other direction when sticking to the right hand side rule. 
 
As said before. These are minor remarks and I appreciate the work that has been done a lot. 
 
Regards, 
Hauke Heibel


 


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.

 

cover Introductory Techniques for 3-D Computer Vision by Emanuele Trucco, Alessandro Verri

 

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.

 

cover Dark Basic Professional Edition - It is better to get this professional edition

cover This is a version of basic designed for building games, for example to rotate a cube you might do the following:
make object cube 1,100
for x=1 to 360
rotate object 1,x,x,0
next x

cover Game Programming with Darkbasic - book for above software

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.

 

progam

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:

http://sourceforge.net/projects/mjbworld/

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2010 Martin John Baker - All rights reserved - privacy policy.