Angus Dorbie (dorbie++at++plague.reading.sgi.com)
Thu, 15 Jun 1995 21:23:47 +0100
The binding of a material is fairly expensive making this an unplesant
prospect, but some of the functionality you require exists at the moment.
You can modify a selected material property on a per vertex basis. Simply
make set the performer material mode to the material component you want
to modify by calling:
pfMtlColorMode()
and add colour per vertex information to your geosets, for example to modify
material diffuse (& alpha)per vertex call:
pfMtlColorMode(perf_mat, PFMTL_BOTH, PFMTL_DIFFUSE);
-- Angus Dorbie, The Reality Centre, Silicon Graphics Ltd, UK dorbie++at++reading.sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:35 PDT