Re: Stenciling help needed
Angus MacDonald Dorbie (dorbie++at++multipass.asd.sgi.com)
Thu, 15 May 1997 13:13:46 -0700
On May 15, 3:06am, Sharon Clay wrote:
> Subject: Re: Stenciling help needed
> +>---- On May 14, 9:25pm, Angus MacDonald Dorbie wrote:
> > Subject: Re: Stenciling help needed
> ->From guest++at++holodeck.csd.sgi.com Wed May 14 23:57:58 1997
> ->>
>
> ->> Can anyone venture a guess as to problems??
> ->
> ->Do you get stencil bits with the visual you request with the iR?
>
> FYI, you can use pfQuerySys of PFQSYS_MAX_STENCIL_BITS or
> PFQSYS_MAX_MS_SAMPLES to query the max number of stencil bits on
> the system. By default we ask for 1 on all recent machines.
> On Extreme we asked for 0 by default because stencil steals from
> the zbuffer.
>
> ->Pixel depth and the exact parameters of all the visual attributes
> ->would be critical. Try requesting an explicit visual id you know
> ->you can get and is supported on the platform.
>
> Woops, I think Angus meant description, NOT id. NEVER hard code
> a visual id number in your code these ids are not guaranteed to
> be preserved across system configurations, or even across IRIX releases
> on a given system.
Nope I meant id, I do this a lot, if you are using perfly you can
request a visual usint the appropriate command line option.
At one point attribute requests were err... unreliable using performer ;-)
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
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:55:14 PDT