WIREFRAME toggling question

New Message Reply Date view Thread view Subject view Author view

Dirk Luesebrink (crux++at++artcom.de)
Mon, 6 Jun 1994 12:31:14 -0500 (CDT)


Hello Fellow Performers:

We are attempting to toggle wireframe in our GeoState
model by setting

        pfGStateMode(gstates[i], PFSTATE_ENWIREFRAME, PF_ON);

then, by

        pfApplyGState(gstate[i])

where `i` is the particular part of the model we
are interested in toggling.

However, instead of applying the wireframe mode locally
to the particular part, the entire GeoSet (ie. gstates[0] .. gstates[n])
gets switched to wireframe. -- What gives?

Interestingly enough, when we first define these
geostates, we don't need to use "pfApplyGState"
and we can have different parts with different
"pfGStateModes".

The difficulty seems to come in when we try to do toggling.

Also, does anyone know of a performer site which houses
all the traffic on this newsgroup, and/or bonus
code samples, etc. ?

Nihar Gokhale
 Graphics/Animation Group
  Mathematics and Computer Sciences Division
 Argonne National Laboratory
Argonne, Illinois USA 60439

    /\\ gokhale++at++mcs.anl.gov
  // \\ 708-252-2815 (voice)
//_ o _\\ 708-252-5986 (FAX)
\- --/ Mosaic: http://www.mcs.anl.gov/home/gokhale/gokhale.html

The goal of Computer Science is to build something that will last at
least until we've finished building it.


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:50:19 PDT

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