/usr/share/gem/examples/02.advanced/05.Stereo.pd is in gem-doc 1:0.93.3-5ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | #N canvas 631 50 600 504 10;
#X obj 426 54 gemhead;
#X floatatom 464 134 0 0 0 0 - - -;
#X obj 464 307 gemhead 1;
#X obj 464 332 world_light;
#X obj 426 181 model ../data/venus.obj;
#X text 185 21 load in a model file;
#X obj 426 81 translateXYZ 0 0 2;
#X obj 426 157 rotateXYZ;
#X text 149 40 and display it stereoscopically;
#X msg 221 130 stereoSep \$1;
#X msg 318 129 stereoFoc \$1;
#X floatatom 221 92 0 0 0 0 - - -;
#X floatatom 318 87 0 0 0 0 - - -;
#X text 23 295 The default stereoSep is -15;
#X text 23 315 The model may appear inside out depending on what viewing
method you use.;
#X text 23 350 If it does \, change the stereoSep to 15;
#N canvas 30 60 290 300 Gem.init 0;
#X obj 71 191 outlet;
#X obj 71 81 loadbang;
#X msg 101 134 reset;
#X obj 71 109 t b b;
#X msg 71 164 lighting 1;
#X msg 148 165 stereo 1;
#X connect 1 0 3 0;
#X connect 2 0 0 0;
#X connect 3 0 4 0;
#X connect 3 0 5 0;
#X connect 3 1 2 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X restore 58 173 pd Gem.init;
#X msg 271 206 stereo 1;
#X msg 271 228 stereo 2;
#X msg 271 271 stereo 0;
#X text 335 207 2 separate images;
#X text 338 230 red/green stereo;
#X text 336 273 no stereo;
#X msg 271 248 stereo 3;
#X text 338 250 crystal eyes stereo;
#X text 32 402 NOTE: you need special hardware to use "crystal eyes
stereo";
#N canvas 340 107 682 322 gemwin 0;
#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 102 161 r \$0-gemstart;
#X obj 102 182 select 1 0;
#X msg 102 214 create \, 1;
#X msg 177 215 destroy;
#X obj 102 239 t a;
#X obj 318 54 inlet;
#X obj 318 255 gemwin;
#X obj 318 100 t a a;
#X obj 318 287 outlet;
#X obj 350 128 route create destroy;
#X obj 350 150 t b;
#X msg 350 172 1;
#X obj 390 150 t b;
#X msg 390 172 0;
#X obj 350 195 t f;
#X msg 350 219 set \$1;
#X text 118 122 rendering;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 7 0;
#X connect 8 1 10 0;
#X connect 10 0 11 0;
#X connect 10 1 13 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 0 0;
#X coords 0 -1 1 1 85 40 1 100 100;
#X restore 58 207 pd gemwin;
#X connect 0 0 6 0;
#X connect 1 0 7 2;
#X connect 2 0 3 0;
#X connect 6 0 7 0;
#X connect 7 0 4 0;
#X connect 9 0 26 0;
#X connect 10 0 26 0;
#X connect 11 0 9 0;
#X connect 12 0 10 0;
#X connect 16 0 26 0;
#X connect 17 0 26 0;
#X connect 18 0 26 0;
#X connect 19 0 26 0;
#X connect 23 0 26 0;
|