Re: Stenciling help needed

New Message Reply Date view Thread view Subject view Author view

Rambabu (ram++at++ivex3d.com)
Fri, 16 May 1997 17:22:56 -0400


Sharon Clay wrote:
>
> +>---- On May 15, 1:13pm, Angus MacDonald Dorbie wrote:
> > Subject: Re: Stenciling help needed
> ->From guest++at++holodeck.csd.sgi.com Thu May 15 20:29:32 1997
> ->Date: Thu, 15 May 1997 13:13:46 -0700
>
> ->> ->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.
>
> That is excellent as an experimentation technique (which is why the capability
> is there) but just do NOT depend on that ID keeping its meaning - ie. don't
> hard code it into a shell script or worse yet into code.
>
> ->At one point attribute requests were err... unreliable using performer ;-)
>
> The main bug we had in released software as in original 2.0 where
> requesting a stereo visual was busted - sorry. Anyway, this was
> fixed long ago in the first and all updates to Performer2.0.
>
> src.
>
> --
> -----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
> Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
> src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
> -----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
>
> ---------------------------------------------------------------
>
> Subject: Re: Stenciling help needed
> Date: Thu, 15 May 1997 13:13:46 -0700
> From: dorbie++at++multipass (Angus MacDonald Dorbie)
> To: "Sharon Clay" <src>, scott++at++ht.com (Scott McMillan), info-performer++at++sgi.com
> References: <199705141922.PAA06160++at++hf.ht.com>
> <9705142125.ZM2882++at++multipass.asd.sgi.com>
> <9705150306.ZM19679++at++rose.asd.sgi.com>
>
> 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

Hey,

So would that mean that, if I specify attributes whose combination
doesn't fall into any of the visual ids, the application would
automatically use this configuration as the minimum (num of bit planes
etc) and use the nearest visual id ? If this is true, all one needs to
do is to set some minimum values for the bit planes and let the app do
the work based on the gfx configuration.

-- 
Ram
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rambabu Munjuluri                 Phone # : 770-564-1148             
E-mail  : ram++at++ivex3d.com          Fax     : 770-381-0622
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=======================================================================
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:15 PDT

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