Transparency

New Message Reply Date view Thread view Subject view Author view

ONYX Area Sistemi navali 4079 (onyx++at++datamat.it)
Mon, 21 Nov 94 18:35:40 MET


Hi,

In my simulation a need to render a multigen model twice: first
like an opaque object and then like a transparent object in the same scene.

I've built this model with a material alpha of 0.4 and I have loaded this
object twice under two different group nodes: the idea was to use
a pre node draw callback to disable transparency [pfTransparency(PFTR_OFF)]
when traversing the node that I want to render opaque and a post node
draw callback to restore Transparency to the default value
[pfTransparency(PFTR_ON)];

The result was that both the objects are Transparent.

Where is my mistake??

There is some general procedure in Performer to manipulate the transparency
of multigen Model?

Thanks!

----------------------
MARCO CROCETTA
DATAMAT Spa, Rome
E-mail: onyx++at++datamat.it
-----------------------


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:40 PDT

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