Re: Toggling Wireframe mode in a pfGeoState

New Message Reply Date view Thread view Subject view Author view

dheskamp++at++ldsa.com
Fri, 19 Jul 96 06:51:39 EDT


I have also seen this problem. When I start my program with wireframe in the off state, I can toggle it to the on
state. But I am unable to turn wireframe back off. I believe there is a bug in Performer.

--- Begin Included Message ---

On Jul 18, 6:06pm, Bela_A_Kekesi_at_2-HACHQ3++at++CCGATE.HAC.COM wrote:
> Subject: Toggling Wireframe mode in a pfGeoState
> 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
>
--- End Included Message ---

Dave Heskamp

Lockheed Martin Tactical Defense Systems
1210 Massillon Road
Akron, Ohio 44315-0001
         
phone: (330) 796 - 5383
fax: (330) 796 - 7009
email: dheskamp++at++ldsa.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


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:53:12 PDT

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