John Rohlf (jrohlf++at++tubes)
Fri, 10 Mar 95 17:28:59 PST
All points are sent to the pipeline. The next release of
Performer will replace pfLightPoint with a better (in my opinion)
mechanism called pfLPointState. pfLPointStates are libpr objects
which can be attached to pfGeoStates just like pfMaterials or
pfTextures. Thus, lightpoints are simply PFGS_POINTS pfGeoSets
with an associated pfLPointState. Additional features supplied by
pfLPointStates are:
- perspective point size
- CPU or texture-based range attenuation
- CPU or texture-based punch-through fog
- similar directionality to pfLightPoints
pfLPointStates gain the indexing capability of pfGeoStates in 2.0 so
you can have different IR/OTW visuals of the same pfGeoSet.
>
> Also, as it's not documented anywhere, maybe somebody at Multigen or SGI
> can answer this... with the PFLP_OVERALL colour mode can you still
> reliably turn off individual points by tweaking the alpha value? Or do
> you have to re-create a pfLightpoint node that doesn't use this colour
> mode?
You will need to use PER_VERTEX colors to do this.
In general, due to the bugs in PFLP_OVERALL I suggest you always use
PER_VERTEX colors.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:03 PDT