Marco Crocetta (onyx++at++datamat.it)
Tue, 14 Mar 95 12:47:16 MET
I'm almost reach my goal...
I've been following the suggestion I had about separating GeoStates
for the various objects (thanks src) (opaque & trasparent).
The problem (sigh!) is that in order to make transparency
works I need to call
...
pfMtlAlpha(material,1.0);
pfMtlColorMode(material, PFMTL_BOTH, PFMTL_CMODE_COLOR);
pfGStateAttr(state,PFSTATE_FRONTMTL,material);
pfGSetGState(gd,state);
...
for my transparent node.
Now pfMtlColorMode with the mode PFMTL_CMODE_COLOR
seems to have the effect of disabling the primitive colour...
Where is my mistake?
Thanks in advance
--------------------------
Marco Crocetta
DATAMAT SpA, Rome
e-mail: onyx++at++datamat.it
-------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:04 PDT