Marco Crocetta (onyx++at++datamat.it)
Tue, 14 Mar 95 17:53:09 MET
>
> 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
>
>
>-- End of excerpt from Angus Dorbie
I must conclude that actually there's no way out to this problem.
In fact setting the geoset colour (alpha component) means to change the
geometry information of the loaded model that must be changed back when
I want to draw the opaque instance of the same model: I guess that performance
would be dramatically affected.
I hope that a new release of Performer will contain the function:
pfSetMtlAlphaOnlyAlpha()...(!?).
Thank for your help.
-- ---------------------------- 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