From: Angus Dorbie (dorbie++at++sgi.com)
Date: 11/09/2000 11:01:46
Depth testing will be on automatically.
You can just call that OpenGL function to modify state in a draw
callback but make sure you restore somathing sensible afterwards.
The Aqua example on my web page has similar calls in gstatemod.C
Cheers,ANgus.
NUGHEAD++at++aol.com wrote:
>
> i'm looking for a call in Performer that will allow me
> to specify the depth function (analagous to glDepthFunc
> in OpenGL) for a particular node(s). also, do i have to
> enable depth testing like OpenGL or is that understood
> in Performer? thanks in advance.
>
> gary
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- For Performer+OpenGL tutorials http://www.dorbie.com/"In the middle of difficulty lies opportunity." --Albert Einstein
This archive was generated by hypermail 2b29 : Thu Nov 09 2000 - 11:01:56 PST