Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Mon, 4 Dec 1995 12:39:52 +0100
pfOverride( STATE_TRANSPARENCY, PF_OFF);
pfTransparency( PFTR_FAST );
pfOverride( STATE_TRANSPARENCY, PF_ON);
This will work unless you break this elsewhere in your code.
If this doesn't fix the problem then your alpha information is to blame
so look at how you are applying this. If youre applying the alpha via a
material you must have lighting enabled. If you are applying the alpha in
the geosets colour information and you have lighting enabled with a material
applied then set the pfMtlColorMode appropriately.
Rgds,
Angus.
On Dec 4, 11:45am, Ion Barosan wrote:
> Subject: Transparency
> Hi,
>
> I am trying to build a transparent object in Performer, but
> I haven't got the right thing.
>
> I have used all the switches and modes that enable the transparency,
> but no effect.
> I have enabled the transparency and used a geometry that have alpha values
> less than the maximum value, but no transparent object.
>
> In the "IRIS Performer Programing guide" there is an example (pag. 120-121)
about
> the transparency, but it doesn't work .
>
> I have an Onyx (IRIX 5.3), Performer 1.2 .
>
>
> ANY help will be appreciated ,
> Thank you,
>
> - Ion.
>
> PS. I am a beginner in Performer.
>
>-- End of excerpt from Ion Barosan
-- Angus Dorbie, Silicon Graphics Ltd, UK dorbie++at++reading.sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:06 PDT