Re: color position offset

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Mon, 28 Jun 1999 16:06:16 -0700


You have to use glColorMask and either draw once then glCopyPixels twice
or draw the scene thrice. Which is faster will depend on hardware and
scene content.

Cheers,Angus.

Paik, Charles C wrote:
>
> Hi,
>
> I want to be able to render a scene where the red, green, blue are offset by
> a specific number of pixels. So, this would look like a color-specific
> double/triple vision.
>
> Is there a way I can do this with a single pass? Perhaps some way of
> redefining the color buffer addressing?
>
> I would appreciate any suggestions. Thanks.
>
> --
> Charles C. Paik
> The Boeing Company
> P.O. Box 516 MC S106-4715
> St. Louis, MO 630166-0516
>
> email: charles.c.paik++at++boeing.com
> phone: 314-233-6807 fax: 314-232-4181
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Microsoft's system was like a forest that hadn't had a controlled
 burn in decades, just waiting for one person with a match to turn
 it into a disaster. Melissa was Microsoft's fault. They left their
 system wide open to this sort of abuse, they knew it could happen
 and did nothing." -- Bruce Perens

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Jun 28 1999 - 16:06:20 PDT

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