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


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

Re: BafflinTransform

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: BafflinTransform
Date 2012-10-05 09:34 -0700
Organization A noiseless patient Spider
Message-ID <k4n26t$icq$1@dont-email.me> (permalink)
References (2 earlier) <e69f5245-a51f-4547-9837-22f23ca838f2@googlegroups.com> <fder68l1c0etqevoaigdb3f09l4rp222l1@4ax.com> <nospam-E2F47C.13581304102012@news.aioe.org> <k4kldp$g1q$1@dont-email.me> <s01u6890vvjd3nkvpq3qass17urqvucreh@4ax.com>

Show all headers | View raw


On 10/5/2012 9:04 AM, Gene Wirchenko wrote:
> On Thu, 04 Oct 2012 11:44:05 -0700, markspace <-@.> wrote:
>
> [snip]
>
>> The method I'm used to from 3D graphics is to translate any objects back
>> to the origin, scale and rotate, then translate them back to their
>> original/intended point in space.  It's a literal three step process;
>> you can't put all that together in one matrix.
>
>       Yes, you can.  Start with an identity matrix and apply each of
> the three transforms in succession.  You now have one matrix which
> does all three transforms in one step.  Matrix multiplication is
> associative so this does work.


No, really it doesn't work this way.  Note I'm not talking about 
starting with the identity matrix.  I'm talking about starting with an 
object that's already been translated at least once.  You have to add an 
extra step to remove the translations back to the origin ("identity") or 
successive multiplications aren't going to work the way you'd expect.

And I don't think you can "pre-multiply" that out; you'll end up doing 
four, or more, operations instead of three.  In intensive graphics 
applications, that's a no-no.



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