Simon Bennett (simonb++at++wormald.com.au)
Thu, 9 Mar 1995 18:00:28 +1000 (EST)
How call you tell if a given lightpoint node is in this undocumented
state?
pfPrint() lists these sort of nodes as PFGS_OVERALL for colourmode and in
fact a new lightpoint will be reported as have PFGS_OVERALL colourmode
unless you change the colour of individual point colours - at which point
the mode changes to PFGS_PER_VERTEX.
However pfPrint() is reporting PFGS_OVERALL *not* PFLP_OVERALL - which is
the magic index value to give to pfGetLPointColor() to get the overall
colour for a lightpoint node (if it has one)
Since trying to get individual colours on PFLP_OVERALL lightpoint nodes
crashes Performer, I have a real need to be able to detect what
colourmode the lightpoint node is in. I'd imagine being able to get the
PFGS_ mode would be good enough - but I can't see how to get the GeoSet
of the lightpoint node... pfGetGSetAttr for PFGS_COLOR4 works, but
returns PFGS_OFF for *all* lightpoint nodes regardless of what type they
are.
Help help.
Thanx.
+--------------------------------------------------------------------------------+
Simon Bennett simonb++at++wormald.com.au
Wormald Technology Advanced Systems Engineering Ph: +61 2 981 0611 (x512)
Computer Terms: hardware - the part of a computer system that one can kick
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:03 PDT