pfApplyMtl works only one time

New Message Reply Date view Thread view Subject view Author view

David Rapidel (diginext++at++imaginet.fr)
Mon, 06 Jul 1998 14:52:48 +0000


Hello all,

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:43 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.