Re: AntiAlias and Multisampling

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Fri, 17 Oct 1997 15:23:27 -0700


On Oct 17, 8:26pm, Gary Quinn wrote:
> Subject: AntiAlias and Multisampling
> Hi Performers.
>
> I've got two problems which are holding me back
> a little bit. Can anyone shed some light for me
> please.
>
> Firstly, I can't persuade Antialiasing to work when
> using 3 channels out of an IR, but it does work
> (sometimes) when using only one channel.
>
> I suspect that this has something to do with the
> AntiAliasing multisampling which seems to default
> to 8x8 when there's enough memory, and nothing when
> there's not enough memory - hmmm, but I can't
> verify this.

You should have a single window, with the same visual.

The problem is probably you disabling antialiasing.

Make sure you turn this on in your open window function and then leave it
alone.

>
> Is there a way to ask for (say) 4x4 or 2x2
> multisampling ? On High and Max Impact, I can't
> persuade AntiAliasing to work at all :-(

That's because it doesn't have multisample buffer.

>
>
> My second problem seems so trivial that it's
> driving me up the wall. I must be missing something
> so silly that I'm prepared to kick myself down the
> street when I find the answer.
>
> I can't disable texturing.
>
> pfGStateMode(shared->gstateScene, PFSTATE_ENTEXTURE, PF_OFF);
>

Whoa, youre just changing state for a geostate. Doing this and
overriding won't change the current state and your override will
loke whatever state you have currently.

So to change this for a specific state just make the call without
any override.

To change this globally do this in the draw process:
pfDisable(PFEN_TEXTURE);
pfOverride(PFSTATE_ENTEXTURE, PF_ON);

To restore normal behaviour do this:

pfOverride(PFSTATE_ENTEXTURE, PF_OFF);

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


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:56:05 PDT

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