Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19096

Re: BafflinTransform

Newsgroups comp.lang.java.programmer
Date 2012-10-04 07:22 -0700
References <a1dd4f88-2a80-4af5-8716-d356d9fb3852@googlegroups.com> <k4hmjn$c5t$1@dont-email.me>
Message-ID <e69f5245-a51f-4547-9837-22f23ca838f2@googlegroups.com> (permalink)
Subject Re: BafflinTransform
From bob smith <bob@coolfone.comze.com>

Show all headers | View raw


On Wednesday, October 3, 2012 10:46:00 AM UTC-5, markspace wrote:
> On 10/3/2012 7:58 AM, bob smith wrote:
> 
> > Am I the only one who gets incredibly confused by AffineTransform?
> 
> >
> 
> > I never know when to preConcatenate or concatenate.  Then I try both
> 
> > possibilities, and a lot of times neither one produces my desired
> 
> > result.
> 
> >
> 
> > Any tips?
> 
> 
> 
> 
> 
> I suspect some math is involved.  :-)
> 
> 
> 
> 
> 
> Seriously, it's matrix algebra, and the formulas are given in each 
> 
> method description.  You need to work out what it is you are actually 
> 
> doing first.  Which you haven't told us, so I'm assuming that's the problem.

It seems like when I want to "tack on" an operation, it is actually a preConcatenate.

This is counterintuitive to me.

Also, when you are just doing commutative operations, like just translation, it doesn't matter whether you preConcatenate or concatenate.

What happened was I started with just translations and was concatenating.

Then, I added rotation, and it did not work right whether I preConcatenated or concatenated.  The issue was that I should have been preConcatenating the translations that I had already programmed in.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

BafflinTransform bob smith <bob@coolfone.comze.com> - 2012-10-03 07:58 -0700
  Re: BafflinTransform markspace <-@.> - 2012-10-03 08:45 -0700
    Re: BafflinTransform Lew <lewbloch@gmail.com> - 2012-10-03 10:41 -0700
      Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-03 10:51 -0700
      Re: BafflinTransform Arne Vajhøj <arne@vajhoej.dk> - 2012-10-03 21:36 -0400
        Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-03 21:49 -0700
        Re: BafflinTransform Jeff Higgins <jeff@invalid.invalid> - 2012-10-04 03:26 -0400
          Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-04 09:30 -0700
          Re: BafflinTransform Arne Vajhøj <arne@vajhoej.dk> - 2012-10-04 17:38 -0400
            Re: BafflinTransform Jeff Higgins <jeff@invalid.invalid> - 2012-10-05 03:00 -0400
              Re: BafflinTransform Arne Vajhøj <arne@vajhoej.dk> - 2012-10-05 22:02 -0400
        Re: BafflinTransform Lew <lewbloch@gmail.com> - 2012-10-04 12:05 -0700
    Re: BafflinTransform bob smith <bob@coolfone.comze.com> - 2012-10-04 07:22 -0700
      Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-04 09:35 -0700
        Re: BafflinTransform "John B. Matthews" <nospam@nospam.invalid> - 2012-10-04 13:58 -0400
          Re: BafflinTransform markspace <-@.> - 2012-10-04 11:44 -0700
            Re: BafflinTransform "John B. Matthews" <nospam@nospam.invalid> - 2012-10-04 21:23 -0400
              Re: BafflinTransform markspace <-@.> - 2012-10-04 19:27 -0700
                Re: BafflinTransform Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-10-04 19:55 -0700
                Re: BafflinTransform Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-10-04 23:33 -0400
            Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-05 09:04 -0700
              Re: BafflinTransform markspace <-@.> - 2012-10-05 09:34 -0700
                Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-05 12:58 -0700
                Re: BafflinTransform markspace <-@.> - 2012-10-05 17:15 -0700
          Re: BafflinTransform Gene Wirchenko <genew@ocis.net> - 2012-10-04 13:51 -0700
  Re: BafflinTransform Jeff Higgins <jeff@invalid.invalid> - 2012-10-03 15:15 -0400
    Re: BafflinTransform Lew <lewbloch@gmail.com> - 2012-10-03 12:49 -0700
  Re: BafflinTransform Roedy Green <see_website@mindprod.com.invalid> - 2012-10-03 16:01 -0700

csiph-web