John Rohlf (jrohlf++at++tubes)
Wed, 14 Sep 94 10:44:45 PDT
> 5. I enable/disable indexed color mode as follows:
>
> in APP process:
> ---------------
> material = pfGetGStateAttr(patch->geoStates[i], PFSTATE_FRONTMTL);
> pfMtlColorMode(material, PFMTL_FRONT,
> (enableCtab) ? PFMTL_CMODE_COLOR : PFMTL_CMODE_AD);
This conditional is reversed. You need CMODE_AD when in color index
mode - otherwise the PER_VERTEX colors will be overridden by the material
color.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:32 PDT