Simon Bennett (simonb++at++wormald.com.au)
Wed, 19 Apr 1995 13:10:08 +1000 (EST)
> How can I determine the color binding of a pfLightPoint?
Do you mean per vertex as opposed to overall?
If so, I believe that under Performer 1.2 you cannot (except by perusing
pfPrint output). I've asked this question on a number of occasions and never
gotten any response. The 14.1f version of the Multigen flight loader will
always use a per vertex colour binding. Contact multigen technical support
if you need this (they are very helpful). Of course this only helps if you
are using Multigen!
The only other help I can give is that pfLightpoints are created with an
overall colour binding, and remain with it until you change the colour of
an *individual point* within the pfLightpoint. If you want to keep an
overall colour binding then use pfLPointColor() with PFLP_OVERALL in the
index parameter. The same with pfGetLPointColor(). (I don't think that
PFLP_OVERALL is documented anywhere)
Hope this helps.
BTW - I've been led to believe that the entire pfLightpoint API is
changing in Performer 2.0 - something about the pfLightpoint Node being
scrapped. Instead you apply a pfLightPointState to a pfGeoSet....
+--------------------------------------------------------------------------------+
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:24 PDT