From: Alexandre Naaman (naaman++at++laplace.engr.sgi.com)
Date: 02/02/2000 14:35:19
On Tue, 1 Feb 2000, Scott Herod wrote:
Hi Scott,
> This question came up recently. Is it possible to flag an
> inventor file so that when a model is loaded into performer
> screen-door transparency is used for the model? A quick
> check of pfiv.C suggests not. Starting on line 1702:
>
> if (transparency > 0.0f)
> cbd->dummyGState->setMode(PFSTATE_TRANSPARENCY, PFTR_ON);
>
> Does PFTR_ON mean multi-sample with visuals that can handle it?
> Inventor apparently defines a couple of transparency computations
> including screen-door but I can't tell if it is possible to
> flag something similar in performer from the .iv file.
Screen door transparency in Inventor is implemented using a polygon
stipple pattern. There is no exact equivalent in Performer. However, you
may want try using pfTransparency(PFTR_FAST). Check out the man page for
pfTransparency() for more info.
A+,
Alex.
-- Alexandre Naaman - naaman++at++sgi.com - La conformité est la mort de l'âme.
This archive was generated by hypermail 2b29 : Wed Feb 02 2000 - 14:35:23 PST