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 / 5729
    My VB DAT viewer and matrix handling —Daniel Crichton
   I'm having some trouble working out the matrix handling for parts in a DAT file given the parent DAT matrix. What I'm doing is the following: let's say in a DAT I have: 1 0 X Y Z A B C D E F G H I parent.dat and in parent.dat I have 1 0 x y z a b c (...) (24 years ago, 10-Apr-01, to lugnet.cad)
   
        Re: My VB DAT viewer and matrix handling —Rui Manuel Silva Martins
     (...) Well, the Problem is that Combining Matrixes, is in fact a multiply betwwen the matrices, and what you are doing, it certainly isn't matrix multiply. Go get your algebra book or surf the Web and Find out how to do Matrix Multiplication. I'm (...) (24 years ago, 10-Apr-01, to lugnet.cad)
   
        Re: My VB DAT viewer and matrix handling —Koen Jordens
     (...) shouldn't this be more in the line of a' = a*A + b*D + c*G b' = a*B + b*E + c*H c' = a*C + b*F + c*I d' = d*A + e *D + f*G ........ don't really know what your trying to do with the matrices. You should always tell what a variable is supposed (...) (24 years ago, 10-Apr-01, to lugnet.cad)
    
         Re: My VB DAT viewer and matrix handling —Daniel Crichton
     "koen" <koen.jordens@studen...ven.ac.be> wrote in message news:GBLnFM.993@lugnet.com... (...) Thanks. It's been over 10 years since I last played with matrices and I've forgotten all of it! I felt sure that it was just a case of cross multiplying (...) (24 years ago, 11-Apr-01, to lugnet.cad)
   
        Re: My VB DAT viewer and matrix handling —Steve Bliss
   (...) [snip] (...) BTW, you can rewrite the whole problem as a matrix multiply: |a d g 1| |A D G 0| |b e h 1| x |B E H 0| |c f i 1| |C F I 0| |x y z 1| |X Y Z 1| Which doesn't seem very interesting, except that the left-hand matrix doesn't have to (...) (24 years ago, 11-Apr-01, to lugnet.cad)
   
        Re: My VB DAT viewer and matrix handling —Daniel Crichton
   "Steve Bliss" <steve.bliss@home.com> wrote in message news:kdo8dtsd7oe3ltm...4ax.com... (...) load (...) I've got that sorted now, next on the cards is to implement hidden surface removal - maybe I should give in and implement som OpenGL or DirectX (...) (24 years ago, 11-Apr-01, to lugnet.cad)
   
        Re: My VB DAT viewer and matrix handling —Daniel Crichton
   "Daniel Crichton" <danielc@helio.co.uk> wrote in message news:GBMxoG.M8M@lugnet.com... (...) University (...) Wow, thanks to Steve's code snippet and a bit of API messing using CreatePolygonRgn and PtInRegion I've managed to implement a simple, but (...) (24 years ago, 12-Apr-01, to lugnet.cad)
 

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