Toggling Wireframe mode in a pfGeoState
Bela_A_Kekesi_at_2-HACHQ3++at++CCGATE.HAC.COM
Thu, 18 Jul 96 18:06:33 PST
Hi,
I'm attempting to toggle an individual object's wireframe mode within
a pfscene by accessing the (individual) object's pfGeoStates and
setting the state mode as such:
pfGStateMode(gstate, PFSTATE_ENWIREFRAME, PF_ON) to turn "on"
wireframe
and
pfGStateMode(gstate, PFSTATE_ENWIREFRAME, PF_OFF) to turn "off"
wireframe.
However, nothing seems to happen.
BUT, when I do the same for textures:
pfGStateMode(gstate, PFSTATE_ENTEXTURE, PF_ON) the textures turn on
and conversely off when I use:
pfGStateMode(gstate, PFSTATE_ENTEXTURE, PF_OFF)
I've verified that my pointer to the GeoState is correct, and that the
PFSTATE_ENWIREFRAME mode value is changing within the GeoState.
My question is, could there be an override somewhere else that's not
letting me see the wireframe mode change??
I appreciate any help I can get on this.
- Alex Kekesi
Hughes Aircraft
Bela_A_Kekesi_at_2-HACHQ3++at++ccgate.hac.com
=======================================================================
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:53:11 PDT