#N canvas 0 -101 1114 732 12;
#X obj 285 51 gemwin 20;
#X text 222 25 access to the window manager;
#X text 183 144 The initial argument is the number of frames per second
to render. The default value is 20 frames per second.;
#X text 568 354 1/0 : turn rendering on/off;
#X text 70 442 create : create the graphics window;
#X text 70 463 destroy : destroy the graphics window;
#X text 70 489 buffer 1/2 : single or double buffering;
#X text 566 431 frame num : the number of frames per second to render
at;
#X text 46 656 reset : reset the graphics manager to the default values
;
#X text 184 175 Editing at the same time as rendering is not encouraged
and is a good way to generate a segmentation fault or core dump!;
#X text 570 399 bang : clear the buffer (single buffer mode);
#X text 569 382 bang : swap the buffers (double buffer mode);
#X text 182 231 It is EXTREMELEY IMPORTANT that you turn on rendering
before trying to draw anything \, including in single buffer mode.
When rendering is turned on \, the gem objects establish a rendering
network. When rendering is turned off \, they remove this network.
;
#X text 599 309 after window-creation::;
#X text 124 393 before/during window-creation::;
#N canvas 10 74 575 310 lighting 0;
#X text 47 96 lighting 1/0 : turn lighting on/off;
#X text 45 143 ambient R G B : the ambient lighting color;
#X text 44 164 specular R G B : the specular lighting color;
#X text 45 184 shininess num : the shininess value;
#X text 47 120 color R G B : the background color of the window;
#X text 45 213 fogmode 0/1/2/3 : set the fog mode (OFF/LINEAR/EXP/EXP^2)
;
#X text 45 256 fogcolor R G B : the color of the fog;
#X text 44 234 fog num : the fog density;
#X text 64 25 messages to the [gemwin] regarding lighting effects;
#X restore 580 520 pd lighting and fog;
#N canvas 236 183 746 676 viewing 0;
#X text 43 31 messages to [gemwin] regarding the view-point ("camera")
;
#X text 37 129 perspec <left> <right> <bottom> <top> <front> <back>::
;
#X text 88 155 set the clipping planes of the view-point. this might
be what you need \, if all the objects that re further away than 20
units suddenly disappear;
#X text 83 220 default: -1 1 -1 1 1 20;
#X text 26 303 view <x> <y> <z>::;
#X text 62 329 translate the camera / set the viewpoint:: the viewing-direction
will not be changed.;
#X text 59 369 default: 0 0 -4;
#X text 58 388 the viewing direction defaults to "0 0 1" \, with y-axis
as "up";
#X text 25 434 view <x> <y> <z> <azimuth>::;
#X text 27 452 view <x> <y> <z> <azimuth> <elevation>::;
#X text 59 481 translate/rotate camera/viewpoint \; the "up" direction
will still be the y-axis;
#X text 20 556 view <view_x> <view_y> <view_z> <target_x> <target_y>
<target_z> <up_x> <up_y> <up_z>::;
#X text 54 597 set viewpoint (view_X view_Y view_Z). the camera will
look at the target-point (target_X \, target_Y \, target_Z). "up" is
defined via the vector (up_X \, up_Y \, up_Z);
#X text 61 522 default: 0 0 -4 0 0;
#X text 54 650 default: 0 0 -4 0 0 0 0 1 0;
#X restore 578 582 pd viewing;
#X text 566 465 cursor 0/1: turn the cursor on/off;
#X text 47 682 print : show some information on the stderr.;
#X text 137 610 misc::;
#N canvas 185 171 594 382 window 0;
#X text 28 188 dimen x y : the x and y dimensions of the window;
#X text 27 144 offset x y : the x and y offset of the window (might
not work under certain window-managers when borders are on);
#X text 27 117 border 0/1: create a window with/out borders;
#X text 26 216 fullscreen 0/1: make fullscreen-window (if possible
with the dimensions passed via "dimen");
#X text 44 31 messages to [gemwin] regarding the window;
#X text 26 275 title <title_symbol>: set the title for the window;
#X restore 138 526 pd window propoerties;
#N canvas 4 20 600 400 stereoscopic 0;
#X text 36 142 stereo 0/1/2 : set stereo-mode to off(0) \, 2-screen-mode(1)
\, Red/Green-mode(2);
#X text 35 176 stereoSep val : set the stereo-separation (default:
-15);
#X text 34 193 stereoFoc val : set the stereo-focal;
#X text 34 211 stereoLine 0/1 : turn the seperation-line between the
2 screens in stereo-mode 1 on/off;
#X text 71 56 messages to [gemwin] regarding stereoscopic appearance:
;
#X restore 580 548 pd stereoscopic display;
#X text 606 684 createStereo:: do not use this!! use 'create'+'stereo
1';
#X text 617 631 deprecated::;
#X text 285 5 [gemwin];
#X text 186 92 [gemwin] controls the window manager. It passes various
messages to the manager \, controlling the attributes of the window.
;
