Re: Antialiasing Problem on iR

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++amit.rtset.co.il)
Thu, 8 Aug 1996 01:32:32 -0700


> I am having difficulty with antialiasing on a Performer app on iR.
>
> I have an Onyx/iR with (2) RM6s and Performer 2.1. When configured with (3)
> 1280x1024 output channels, the irconfig utility tells me the pixel depth is
> "small". My understanding was that this would allow (4) subsamples, and this
> seems to be verified by the pfQueryFeature(PFQFTR_MULTISAMPLE) which returns
> PFQFTR_FAST.
>
> However, running this app shows substantial aliasing, and no perceptable
> difference between antialias on/off.
>
> What am I doing wrong?
>

In some configurations, Performer does not select the right X visual for you.
You might want to try and configure you pfWindow of pfPipeWindow, and ask
specifically for a minimum of 4 subsamples. You pfconfig array should look like
that :

int attr[] =
{
        PFFB_RGBA,
        PFFB_DOUBLEBUFFER,
        PFFB_DEPTH_SIZE, 1,
        PFFB_RED_SIZE, 1,
        PFFB_GREEN_SIZE, 1,
        PFFB_BLUE_SIZE, 1,
        PFFB_ALPHA_SIZE, 0,
        PFFB_SAMPLES, 4,
        PFFB_STENCIL_SIZE, 1,
        None
};

Ran

-- 
Ran Yakir
=======================================================================
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:53:19 PDT

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