Re: looking through a tinted window...

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Fri, 1 Aug 1997 04:37:58 -0700


On Aug 1, 11:51am, Charlie H. Chang wrote:
> Subject: looking through a tinted window...
> Hi,
>
> In my application, I need to create several channels and one of them is
> viewed
> throught some kind of color filter lens. I tried to use OpenGL and draw
> a
> transparent color polygon in the draw call-back but the result was that
> only polygon
> was shown. Any example code that I can follow?
> Thank you in advance!

I bet you drew the polygon before you called pfDraw.

Try drawing it afterwards, this will about the zbuffer occlusion
I expect you are encountering.

Also if your glass is a promary colour you'd be much faster
using colour masks.

Cheers,Angus.

=======================================================================
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:55:42 PDT

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