ISOMURA_MITUGU (mi_isomura++at++mpcnet.co.jp)
Wed, 17 Jun 98 20:40:33 +0900
> If you use an OpenGL rendering context in the Motif window
Maybe yes. I referenced Performer sample c source "motif.c" when I make
my program. I create ManagedWidget like below.
Widget v_glwidget; /* performer drawing area */
Widget V_frame_widget; /* Frame widget, parent of v_glwidget */
XVisualInfo *vi;
v_glwidget = XtVaCreateManagedWidget("v_glwidget",
glwMDrawingAreaWidgetClass, V_frame_widget, GLwNvisualInfo, vi,
NULL);
> 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.
When I draw Performer image, I use pfFrame().
Must I do anything before pfFrame()? Or must I change some performer
configuration to use alpha blending?
=================================================
name :mitsugu isomura
company:mitsubishi precision co.
e-mail :mi_isomura++at++mpcnet.co.jp
=======================================================================
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