Angus Dorbie (dorbie++at++sgi.com)
Thu, 18 Jun 1998 11:42:13 -0700
No, just:
1)draw the performer image normally.
2)glReadPixels this image.
3)Add the alpha information in system memory.
4)glDrawPixels the transparent image in the glContext for the motif
application.
The last two stages have nothing to do with performer,
and stage 2 is called in a channel draw callback after
you call pfDraw.
You could use the picel transfer stuff in the gl to add
alpha during the gldrawpixels but just try the avove for
now.
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:33 PDT