Re: transparency in models

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++sgi.com)
Date: 02/27/2002 18:45:54


Most any format out there should support transparency, the inventor loader
does, for example. (perfly windmill.iv). Performer does not know whether
a pfGeoSet has transparency in it or not, so you have to give it a hint.

The way you do this is to attach a pfGeoState to that pfGeoSet that
contains this information.

pfGeoState *g = new pfGeoState();
g->setMode(PFSTATE_TRANSPARENCY, PF_ON);

-- Marcin

On Wed, 27 Feb 2002, mark tollefson wrote:

> 27 Feb 2002
> I have spent all day making transparent
> models using the ASCII model file formats that
> performer can read.
>
> Several formats allow alpha values to be specified,
> but when the model is loaded into perfly, they are
> displayed as opaque.
>
> I verified that perfly does display transparency
> correctly by displaying the esprit.flt model (which
> has transparent windows).
>
> Does anyone know of a format which supports
> transparency? I have to write a program to build
> the models I need, so either an ASCII or binary
> file format would work, as long as the details
> of the format are available. (I know .flt works,
> but the details are all proprietary.)
>
> Thanks,
> Mark
>
> test runs were made using:
> - Performer 2.4.2 under Red Hat Linux ver 7.1
> on a Dell Precision 530
> and
> - Performer 2.4.1 under IRIX 6.5.12 on an Indigo2
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - Send FREE e-cards for every occasion!
> http://greetings.yahoo.com
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 27 2002 - 18:46:04 PST

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