Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Tue, 25 Feb 1997 16:23:58 GMT
I wan't to fade certain geometry in and out of my scene. I am running
on an Onyx iR Performer 2.1, Open GL compilation.
It seems that it should be pretty straightforward to do using the
multisample mask in a pre&post draw callback for the nodes I wish to
fade (i.e. using glSampleMaskSGIS in a pre draw to effectively set the
level of transparency I want, and then reset the mask in a post draw).
Will this work? (Isn't it how Performer implements it's fade LOD
feature) It seems much simpler than having to modify the alpha in
materials/colours associated with the geometry etc. Is there anything
I should be aware of wrt doing this?
Any advice greatfully received.
Mark.
--
Mark Baranowski at work (baranowski++at++marklynn.demon.co.uk)
Pera, VR Division. Melton Mowbray, Leics. LE13 0PB. UK.
Tel: +44 1664 501501, Fax: +44 1664 501553
All opinions expressed are my own and should not be viewed
as representing my employer unless stated otherwise.
===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:44 PDT