Image Panel Widget.

Uses Motif Widgets ( Choice, Toggle, Scale, Push ) to adjust properties of appearance/style of the output image.

In Ribbons 3.0, invoked from Edit in Menubar or ALT-j

If an existing image file named `background.rgb' is present, it will be the background.

Use ``Outline Image'' in Menubar View to outline the primitives.
May also use ``Save Image'' in Menubar File to set the filename to be saved.
Critical! Hit ``PrintScreen'' key to actually save the image, or the ``Pause'' key to cancel the save.

Widget Name (Widget Type) --- description of function


Hints:

If you have a file named 'background.rgb' in your directory, it will serve as the background. It is placed at the far clipping plane. Will slow you down if you toggle on scaling of this image to the window.

For SuperSampling, the scale is for the current window. Values between 1-4 are allowed. 2 gives ~300 dpi resolution. 4 would give 600 dpi, but I can't do it on my machines with a full screen (?).

This works on my O2:

 ribbons -n yourmodel -w 1000,800
 hit alt-j to invoke ImagePanel
 choose 'SuperSample' from ImageType (upperleft)
 choose Save Image ( Note: forces a *.tiff == TIFF file)
 hit PrintScreen to actually save and say a small prayer
 imgworks yourfile.tiff  (it should be ~2000x1600)
Then maybe try to make even bigger with -w option! (or smaller if it crashes, see Bugs below). Also see other types of and general information on Control Panels.

Notes:

The Black and White code is based on an algorithm from a Japanese group, implemented & published (&copied by me) from: Molecular Illustrations in Black and White David S. Goodsell and Authur J. Olson J.Mol.Graphics (92).

We get autostereograms in the funny papers. Looks like random noise, but 3-D picture hidden within. Algorithm for drawing an autostereogram: H.W.Thimbleby, S.Inglis & I.H.Witten (Oct94) Computer, p38-48.

SuperSampling based on code kindly supplied by Jason Freund at SGI (formerly at UAB). All SGI computers that support its offscreen 'P-buffer' OpenGL extension are supposed to make at least 2000x2000 images, but...

Bugs:

SuperSampling might dump core if not supported on your computer. (i tried to put in the checks as explained in the man pages). More likely it will simply fail if you attempt to create an image larger than the new SGI Pbuffer extension can handle. If so, will spit out this:
 > X Error of failed request:  BadAlloc (insufficient resources ...)
 >   Major opcode of failed request:  141 (GLX)
 >   Minor opcode of failed request:  17 (X_GLXVendorPrivateWithReply)
 >   Serial number of failed request:  0

All SGI computers that support this are supposed to make at least 2000x2000 images, but... From their man page: MACHINE DEPENDENCIES
The SGIX_pbuffer extension is supported only on RealityEngine, RealityEngine2, and VTX systems, on InfiniteReality systems, on High Impact and Maximum Impact systems, and on O2 systems.


Ribbons User Manual / UAB-CMC / carson@cmc.uab.edu