Writing to individual pixel colour components.

New Message Reply Date view Thread view Subject view Author view

Graham Jones (graham.jones++at++sharp.co.uk)
Wed, 04 Sep 1996 09:30:52 +0100


Has anyone got any good ideas on the following - I have thought up some
ways of doing what I want but I wondered if there was anything faster!

Consider two pixels side by side - when I draw an image I want to set
the red component of one pixel and the green component of the other,
without affecting the other colour components of the two pixels - this
is repeated over the whole image.

I have a solution which requires writing the image twice, once for red,
once for green, but was wondering if there were anyways of doing it with
one write?

I suspect there isn't!

Performer relevance - I want to do this with a Performer simulation, so
speed is very important, I'm already at 30Hz and I really don't want to
go lower.

I look forward to hearing any imaginative suggestions.

Graham Jones.

-- 
Sharp Laboratories of Europe,         Phone: +44-(0)1865-747711
Oxford Science Park,                  Fax:   +44-(0)1865-714217
Oxford, OX4 4GA
England                        E-mail: graham.jones++at++sharp.co.uk
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.