Thread: From Matrices to Graphics

  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    15

    From Matrices to Graphics

    Hi there,

    I would like to produce a graphic from the contents of a matrix, specifically, a grid where the colour of each cell represents the value of the corresponding matrix element. Are there any simple ways of achieving this in C++, or would I be better off outputting the data and creating the graphics elsewhere?

    Thanks!

  2. #2
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    if it is a monotone picture then I would probably use quad-trees...they are a very handy data structure.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginning Game Programming Type Books
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 09-13-2006, 04:15 PM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM
  4. Problem multiplying rotation matrices together
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-04-2003, 09:20 AM
  5. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 11:14 AM