Re: Problem with GL calls in Performer 1.2

New Message Reply Date view Thread view Subject view Author view

Brian Loss (bfl++at++cs.duke.edu)
Tue, 28 Dec 93 13:18:05 -0500


> From fouts++at++exacto.atlanta.sgi.com Tue Dec 28 09:23:37 1993
> Content-Type: text/plain; charset=us-ascii
> Mime-Version: 1.0
> > Subject: Problem with GL calls in Performer 1.2
> |
> | v[0] = 425.0f; v[1] = 150.0f;
> | bgnpolygon( );
> | v2f( v ); v[1] += 25.0f;
> | v2f( v ); v[0] += status_bar*425.0f;
> | v2f( v ); v[1] -= 25.0f;
> | v2f( v );
> | endpolygon( );
> | }
>
> This polygon is backfaced. Try calling backface(FALSE) or reversing the
> order of the vertices. Evidently the GL initialization changed in 1.2 for
> I experienced a similar problem.
>
>
> --
>
> Chris Fouts Email: fouts++at++atlanta.sgi.com
> Systems Engineer Phone: (404)-392-1333
> Silicon Graphics Computer Systems Vmail: 5-8714
> Atlanta, GA
>
> "What you see is real. What you smell is unfortunate."
>
> Tom Servo, Mystery Science Theatre 3000
>
>
>
>

I totally missed that. Thanks. However, in my program's initizaliation, I
make the following calls:

        pfCullFace( PFCF_OFF );
        pfOverride( PFSTATE_CULLFACE, PF_ON );

and they did not seem to solve the problem (I don't call pfOverride with
PFSTATE_CULLFACE again). However, when I made the vertices of my polygon in
counterclockwise order, it shows up. Am I using pfOverride incorrectly?

Brian Loss
_________________________________________________________________

Department of Computer Science, Duke University, Durham, NC 27706
Internet: bfl++at++cs.duke.edu
UUCP: mcnc!duke!bfl
_________________________________________________________________


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:50:07 PDT

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