Angus Dorbie (angus++at++division.demon.co.uk)
Tue, 14 Mar 1995 15:16:06 +0000
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. You could try PFMTL_CMODE_AD with
transparent materials and colour per primitive but ensure that the alpha values
in the geoset colour per prim information are transparent because that will
override the material alpha information.
I hope this works.
Good Luck.
-- Angus Dorbie Division Ltd, Software Engineer 19 Apex Court, Tel: (01454)615554 Woodlands, Fax: (01454)615532 Bristol BS12 4JT, angus++at++division.demon.co.uk UK
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:04 PDT