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 / 11625
  Re: Quick way to mirror-image a model?
 
(...) Unreflect is a better word--just undo the X coordinate swap that -1 0 0 0 1 0 0 0 1 does. I believe they're equivalent things--I'm doing a clockwise rotation, then negating the X coordinate swap, you're doing the opposite rotation. I think (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) We already got some of them. The 4360 Space laser gun with side sight is gonna to be a problem. You just *know* someone out there'll hook it up to something by the stud on the asymetric sight portion. And there'll be no end to the whining when (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Yup, oh well. I guess the mirror specification could always translate it with no rotation, or add a comment to the LDraw file saying that this part needs to be checked for proper placement. (...) Thanks! I put a 2 x 2 red brick by a 1 x 6 x 5 (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Would that work in general cases, or just for right-left reflection? (...) Actually, I think they're not - "Steve's algorithm" (ha!) requires that both the MP and ME transforms be mirroring, so that the MF transform would be non-mirroring. (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) It would need to determine the plane of reflection, and do the second reflection on the X components for left-right or Z components for front-back. (...) I've come up with the same results in all cases so far. I'll do some thinking as to which (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?  [DAT]
 
(...) Can you or Don check my work? I'm trying to figure out why the ME transform that I did works in my program and the ME that Don put in mirror.ini works in his code, but not vice-versa. The most likely explanation is that I'm doing something (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Probably. ;^) (...) Matrix multiplication is not commutative. (distributive? Err, I forget my math terms.) You're doing one or more of the multiplications in the wrong order? Try ME * (MC * MP) instead. Notice I switched the order inside the (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) It's neither commutative [(a * b) * c != a * (b * c)] nor associative [a * b != b * a]. That shouldn't be the problem in the calculation above, since the current matrix was the identity matrix... (...) Looks like you're doing MF = MP * (MC * (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Yes, that looks right. The other thing that messes me up with LDRAW matrices is the row, column ordering. The ordering in LDRAW files is not what I would have chosen, so I always have to look it up. From the old FAQ: (URL) type 1's format is: (...) (20 years ago, 23-Jun-04, to lugnet.cad, lugnet.cad.mlcad)
 
  Re: Quick way to mirror-image a model?
 
(...) Total side note: I agree with Don, row/column ordering is not what I would have chosen. BUT, it is far easier (IMO) to hand-transform row/column LDraw commands than the equivalent column/row commands (like I've had to do in POV-Ray code). (...) (20 years ago, 23-Jun-04, to lugnet.cad, lugnet.cad.mlcad)
 
  Re: Quick way to mirror-image a model?
 
Hi Don, now it's getting interesting ... "Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:HzrwBF.9t2@lugnet.com... <SNIP> (...) I'm actually reading it in as | a b c | | d e f | | g h i | and that is also how I'm writing my (...) (20 years ago, 24-Jun-04, to lugnet.cad, lugnet.cad.mlcad)

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