Angus Dorbie (dorbie++at++sgi.com)
Mon, 15 Jun 1998 11:21:42 -0700
This would firstly require some destination alpha and some
pretty fancy x support.
How you do this depends on the type of visual you have. You may have
a colour map which would make the blending of one image with another
a bit of a nightmare.
Either way you'll probably have to read image from both buffers,
blend in software and then write the image.
If you use an OpenGL rendering context in the Motif window (it can be
done) then you could introduce 50% alpha to the performer image in
memory after you read from performer but before you glDrawPixels.
Then you can enable blending and drawpixels with source_alpha,
one_minus_source_alpha for the blend.
Cheers,Angus.
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/ ======================================================================= 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:57:32 PDT