David Rapidel (diginext++at++imaginet.fr)
Mon, 06 Jul 1998 14:52:48 +0000
I'm trying to change the properties of one material in a scene with the
folowing fragment of code :
pfMtlSide(mtl, PFMTL_FRONT);
pfMtlColorMode(mtl, PFMTL_FRONT, PFMTL_CMODE_OFF);
pfApplyMtl(mtl);
pfOverride(PFSTATE_FRONTMTL, PF_ON);
It works well, but only one time. If I change again the material's
properties, and I call pfApplyMtl, it doesn't have any effect.
Does somebody have an idear ?
Thanks,
David
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:43 PDT