Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Wed, 7 Jan 1998 16:16:59 -0800
This should be done in draw only unless you are running
single process (which will depend on # cpus and calls the
application might make).
I think you can issue this in a cull callback and it'll
go into a display list for issue at draw time.
Your geostates may also have wireframe state so you
you must override your state on after you request the
state like this:
pfEnable (PFEN_WIREFRAME);
pfOverride (PFSTATE_ENWIREFRAME, PF_ON);
You don't need to call override off prior to the
pfEnable unless you have already turned on the
overide for that state.
For example to disable override in a post draw call
for example you'd call the following:
pfOverride (PFSTATE_ENWIREFRAME, PF_OFF);
You shouldn't have to call pfDisable if you have
sensible wireframe off geostate information.
Cheers,Angus.
--
"They can't break you if you don't have a spine."
- Wally.
=======================================================================
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:32 PDT