Re: Changing Material again
John Rohlf (jrohlf++at++tubes)
Tue, 14 Mar 95 9:57:03 PST
>
> > Now pfMtlColorMode with the mode PFMTL_CMODE_COLOR
> > seems to have the effect of disabling the primitive colour...
> > Where is my mistake?
>
> I've had the same problem in the past. The issue is that PFMTL_CMODE_COLOR uses
> the material parameters in lmbind and disables the modification of material
> properties with calls like cpack & c4f. See the manual entry of the Iris GL
> call lmcolor(). The performer colour per primitive code relies on this sort of
> colour shortcut.
>
> I found this frustating too. The GL manual says it's possible to specify
> material alpha with lmcolor(LMC_AD) but the performer manual says it only
> supports alpha on unlit geometry or lmcolor(LMC_COLOUR) lighting, this _may_
> not be as black and white as it seems.
Tell me where the performer documentation says this so we
can fix it. Performer's use of lmcolor/glColorMaterial is identical
to GL's so alpha specified at the geoset level will have effect
if the material's colormode is PFMTL_CMODE_AD or PFMTL_CMODE_DIFFUSE.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:51:04 PDT