Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Fri, 17 Oct 1997 15:23:27 -0700
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:05 PDT