Results 1 to 2 of 2

Thread: QMatrix

  1. #1
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QMatrix

    Hello,
    Can someone help in learning the math behind QMatrix ? All I've been doing till now is modifying the example code found in docs and trying to fit it to mine.
    My objectives to learn are:
    • Learn the fundamentals first
    • Learn about combining different matrices to produce nice effects
    • Some advanced usage


    Actually I've gone through the documentation but couldn't grasp it completely. I still sometimes get confused while applying them. Also I'd like to know some advanced operations. So please help me.

    (BTW, a wiki article would be awesome )
    Thanks in advance
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QMatrix

    There are three basic mapping operations:
    - Translation
    - Rotation
    - Scaling

    More complex operations are obtained when combining the above three basic operations.
    Look at:
    http://home10.inet.tele.dk/moelhave/...ormations.html
    http://en.wikipedia.org/wiki/Rotation_matrix
    http://en.wikipedia.org/wiki/Scaling_(geometry)
    http://en.wikipedia.org/wiki/Translation_(geometry)

    Also you can check out the books:
    Introduction to Computer Graphics - by James Foley
    Computer Graphics: Principles and Practice in C (2nd Edition) by James D. Foley
    and a few others

    Regards

Similar Threads

  1. QMatrix vs QWMatrix - porting Qt3 to Qt4
    By bitChanger in forum Qt Programming
    Replies: 13
    Last Post: 24th April 2006, 18:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.