Jim Helman (jimh++at++surreal)
Mon, 19 Sep 94 18:25:29 -0700
WARNING ON 1.2 & ANTIALIASING: by default Performer 1.2 ONLY gives 4
subsamples per pixel on medium pixel depth configs. The change was
caused by Performer internally requesting 4 bits of stencil for pixel
fill statistics. Programs can override the default by doing their own
mssize/gconfig in the init pipe callback.
When you setup the frame buffer in your application, you can tradeoff
between Z (24 or 32) color bits (8 or 12), stencil bits and subsamples
(0, 4, 8 or 16). You do this using mssize() gconfig() under GL
windowing (always use getgconfig to check what GL decided to give you),
e.g.:
winopen("ms");
RGBsize(reqCol);
RGBmode();
zbsize(0); /* no regular Z buf */
stensize(0); /* no regular stencil */
mssize(reqSub, reqZ, reqSten);
gconfig();
printf("req: sub: %d z: %d sten: %d, col: %d\n",
reqSub, reqZ, reqSten, reqCol);
printf("got: sub: %d z: %d sten: %d, col: %d\n",
getgconfig(GC_MS_SAMPLES),
getgconfig(GC_BITS_MS_ZBUFFER),
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:32 PDT