From: Allan Schaffer (allan++at++sgi.com)
Date: 02/07/2000 15:33:49
On Feb 2, 2:35pm, Alexandre Naaman wrote:
> On Tue, 1 Feb 2000, Scott Herod wrote:
> > 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?
Right. If multisampling is available, PFTR_ON will result in
screen-door transparency (the multisampling type). If multisampling
is not available it'll use blended transparency.
> 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.
Allan
-- Allan Schaffer allan++at++sgi.com Silicon Graphics http://reality.sgi.com/allan
This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 15:34:00 PST