Michael Philip (mphilip++at++technet.sg)
Tue, 4 Jul 1995 13:10:57 +0800 (SST)
This is not really a Performer problem, but I hit it while working
in Performer so I hope it counts...
I'm using empty pfGeodes with PFN_BMODE_STATIC bounding spheres and
draw callbacks to draw background and foreground RGBA images
in my scene.
I've been trying to track down a problem with flickering images.
It looks like it isn't a Performer problem at all. Even the
short gl program attached seems to have the same problem.
If I display RGB images of a certain size, and if I then cause some
other graphics activity on my screen (say by running gr_osview or
scrolling in imgworks), the RGB image flickers and even sometimes
draws lines of pixels outside of its area (but not outside
the 400x400 window). This is the same symptom I am getting with
my Performer image nodes.
Two image sizes that exhibit flickering are 262 x 204 and 408 x 131.
Is it possible that my system has a hardware fault?
I'd really appreciate any ideas. I'm at a loss.
Thanks in advance,
Mike Philip
-- Michael Philip, Symbolic Research Pte Ltd, Singapore Consultant, Asia Business News, European Business News Ph:(65)615-9181 Fax:(65)285-5311 mphilip++at++technet.sg
/****************************************************************/
Short gl program to show flickering.
#include <gl/gl.h> #include <gl/device.h> #include <gl/image.h>
extern unsigned long *longimagedata( const char *filename );
int main( int argc, char **argv ) { unsigned long *bytes; int xsize, ysize; short val; Device dev; if ( argc != 2 ) return 0; prefsize( 400, 400 ); winopen( "Image" ); RGBmode(); doublebuffer(); gconfig(); qdevice( ESCKEY ); bytes = longimagedata( argv[1] ); sizeofimage( argv[1], &xsize, &ysize ); while ( 1 ) { if ( qtest() ) switch ( dev = qread( &val )) { case ESCKEY: return 0; } cpack( 0x00ff0000 ); clear(); lrectwrite( 0, 0, xsize - 1, ysize - 1, bytes ); swapbuffers(); gsync(); } }
/****************************************************************/*
My machine specs:
Onyx VTX with Irix 5.3 Patches 170, 183, 195, 224, 231, 238, 277, 289, 291, 337, 409, 430, 487
Sirius Video Version 1.1 (and patches 238 and 430).
Graphics board 0 is "REV" graphics. Managed (":0.0") 1280x1024 VTX Graphics Subsystem Display 1280x1024 ++at++ 60Hz 6 GE (GE10 rev. 0x4) 1 RM4 board Small pixel depth 10-bit RGBA pixels Not using Multi-Channel Option
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:39 PDT