(no subject)

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++bvr.co.il)
Thu, 01 Jan 1998 07:01:39 +0200


pfEnabling of PFEN_WIREFRAME is not enough in many cases. You'll need to
also pfOevrride the PFEN_WIREFRAME state, so that subsequent geostates
does not change it.
geostates can either change that state or not, depending on their
inheritence mask.
Simply do the following :
    case XK_w :
        pfOverride (PFSTATE_ENWIREFRAME, PF_OFF);
        pfEnable (PFEN_WIREFRAME);
        pfOverride (PFSTATE_ENWIREFRAME, PF_ON);
        break;

Ran

A. Ballard Andrews wrote:

> Subject: Bug in PFEN_WIREFRAME
>
> hi Folks,
>
> There seems to be a bug in PFEN_WIREFRAME
> on my IR. I recently ported an application
> from my RE2 to my IR which uses OGL.
> a toggle which worked fine on the RE2
> doesn't work but gives no error messages on
> my IR:
>
> case XK_W :
> pfDisable(PFEN_WIREFRAME);
> break;
> case XK_w :
> pfEnable(PFEN_WIREFRAME);
> break;
>
> this is pretty simple stuff so I thought it
> might be a bug?
>
> Thanks,
>
> ballard andrews
> computing
> brookhaven lab
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

--
 __                                  | Ran Yakir
 /_)  _  __   \  / _   / o __        | BVR Technologies Ltd.
/ )_ (_(_) )   \/ (_(_/<_(_)(        |
              _/                     |
-------------------------------------+--------------------------------
Phone :                              | E-mail : rany++at++bvr.co.il
  Work : 972-3-5715671 #166,#177     |
  Res. : 972-9-7489974               |
Fax    : 972-3-5715668               |

======================================================================= 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:31 PDT

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