To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14556
14555  |  14557
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Another matrix inverse question
Newsgroups: 
lugnet.cad
Date: 
Wed, 11 Apr 2007 04:36:40 GMT
Viewed: 
1931 times
  
In lugnet.cad, Brian Durney wrote:
handL xform
  0.98543465  -0.17005472  0.0  0.0
  0.12024684  0.6968075  0.70710677  0.0
  -0.12024684  -0.6968075  0.70710677  0.0
  23.558212  25.872986  -10.0  1.0

You might want to check your row/column order for the converted code from
LDView.  At least conceptually, I always invision transformation matrices like
so:

A B C X
D E F Y
G H I Z
0 0 0 1

Notice that the translation info is in the last column, not the last row like
your example.  The offsets in the LDView code map like so:

0  4  8 12
1  5  9 13
2  6 10 14
3  7 11 15

--Travis



Message is in Reply To:
  Re: Another matrix inverse question
 
(...) I can see the advantages of swapping the off-diagonals for inverting the rotation(s), but that still leaves the question of how to invert translations. In a current example I'm looking at, a minifig hand, the hand is rotated 45 degrees, (...) (17 years ago, 11-Apr-07, to lugnet.cad)

12 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR