pfMaterial

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie uid (angus++at++division.demon.co.uk)
Wed, 7 Dec 1994 02:10:34 +0000


In my last email I said I intended to override back and front materials
independently. As always front material overrides work, but after some trial
and error I can't override the back facing material. I've guessed this is a
result of the documented limitations of the Iris GL call lmcolor(). I've tried
both the default pfMtlColorMode() setting on my materials and PFMTL_CMODE_COLOR
applied to PFMTL_BOTH surfaces.
I need PFMTL_CMODE_COL for material transparency, which has the side effect of
disabling colour per primitive information on some triangular meshes I create.
This is understandable but frustrating because of its requirement for
transparent materials. A mode where alpha is applied from the material and
diffuse & ambient from lmcolor would be handy.

Is there a known workaround for my material override, or colour per primitive
with transparent material problems, or have I miss-diagnosed the symptoms?
Also, would it be possible for someone to elaborate on what performer is doing
with materials in "Iris GL speak" to assist my understanding? I've tried to
glean this information from the manuals but in some respects it's not clear
what's supposed to be happening under there.

Thanks in advance,

-- 
________________________________________________
 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
________________________________________________

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:50:43 PDT

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