Re: Writing to individual pixel colour components.

New Message Reply Date view Thread view Subject view Author view

Remi Arnaud (remi++at++remi.asd.sgi.com)
Wed, 4 Sep 1996 19:48:34 -0700


On Sep 4, 9:30am, Graham Jones wrote:
> Subject: Writing to individual pixel colour components.
> 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?

 That's an interresting problem !
 I don't see any 1 pass solution if your database have textures.

 -- Remi

-- 

o o Remi ARNAUD - Silicon Graphics, Performer, Advanced Systems Dev o o o o Mail Stop 590 - 2011 N. Shoreline Boulevard, Mountain View, CA94043 o o o o Email: remi++at++asd.sgi.com - Tel: (415) 933 6208 - Fax: (415) 965 2658 o o

======================================================================= 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.