/usr/lib/pd/extra/Gem/model-help.pd is in gem 1:0.93.3-13.
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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | #N canvas 407 65 710 632 10;
#X text 54 30 Class: geometric object;
#X obj 464 77 cnv 15 200 280 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 466 364 cnv 15 200 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 132 112 create \, 1 \, lighting 1;
#X msg 298 112 destroy \, reset;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 1 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 471 403 pd gemwin;
#X msg 471 384 create;
#X text 468 365 Create window:;
#X text 475 59 Example:;
#X obj 7 67 cnv 15 450 200 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 316 cnv 15 450 260 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 9 321 Inlets:;
#X obj 8 276 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 275 Arguments:;
#X text 452 8 GEM object;
#X text 27 333 Inlet 1: gemlist;
#X text 9 560 Outlets:;
#X text 21 573 Outlet 1: gemlist;
#X obj 472 136 cnv 15 180 165 empty empty empty 20 12 0 14 -106458
-66577 0;
#X text 33 14 Synopsis: [model];
#X text 7 69 Description: Renders an Alias/Wavefront-Model.;
#X text 16 86 The model object renders 3D-models that are saved in
Alias/Wavefront's OBJ-format.;
#X text 63 286 optional: name of a OBJ-file to be loaded;
#X obj 470 313 cnv 15 50 30 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 583 384 gemhead;
#X obj 583 403 world_light;
#X obj 552 302 cnv 15 100 50 empty empty empty 20 12 0 14 -106458 -66577
0;
#X obj 473 84 gemhead;
#X obj 473 319 model;
#X obj 486 140 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 486 158 openpanel;
#X obj 574 144 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 574 164 rescale \$1;
#X msg 490 224 smooth \$1;
#X obj 574 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 574 224 revert \$1;
#X msg 486 274 material \$1;
#X msg 574 274 texture \$1;
#X msg 576 326 group \$1;
#X floatatom 490 206 5 0 1 0 - - -;
#X msg 486 179 open \$1;
#X obj 576 308 hradio 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X text 27 350 Inlet 1: message: open <filename.obj>;
#X text 27 367 Inlet 1: message: rescale 1|0 :: normalize the model
(must be set PRIOR to opening a model (default: 1);
#X text 26 444 Inlet 1: message: material 1|0 :: use material-information
(from the .MTL-file);
#X text 27 522 Inlet 1: message: group <int> :: draw only specified
part of the model (0==all groups);
#X text 16 114 To normalize the size and pivot-point of a loaded model
use the "rescale"-message prior(!) to loading the model.;
#X text 27 426 Inlet 1: message: revert 1|0 :: revert faces;
#X text 16 142 The amount of smoothing of the model-facets can be set
via the "smooth"-message.;
#X text 17 168 Some models have material-information stored in a separate
MTL-file. If these materials should be used instead of GEM's [color]
(and friends) use the "material"-message.;
#X text 16 234 Model can consist of several parts \, so-called "groups".
Normally all groups are rendered \, but you can specify specific groups
to be displayed.;
#X obj 473 115 color 1 0 0;
#X obj 486 254 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 27 397 Inlet 1: message: smooth <float> :: set smoothing factor
( 0.0==flat. 1.0==smooth. default=0.5);
#X text 27 474 Inlet 1: message: texture 0|1|2 :: 0==linear texturing
\, 1==sphere mapping \, 2==UV-mapping (default);
#X obj 574 254 hradio 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X text 17 210 Images can be applied either as linear \, spheric or
UV textures.;
#X connect 3 0 4 0;
#X connect 4 0 3 0;
#X connect 22 0 23 0;
#X connect 25 0 49 0;
#X connect 27 0 28 0;
#X connect 28 0 38 0;
#X connect 29 0 30 0;
#X connect 30 0 26 0;
#X connect 31 0 26 0;
#X connect 32 0 33 0;
#X connect 33 0 26 0;
#X connect 34 0 26 0;
#X connect 35 0 26 0;
#X connect 36 0 26 0;
#X connect 37 0 31 0;
#X connect 38 0 26 0;
#X connect 39 0 36 0;
#X connect 49 0 26 0;
#X connect 50 0 34 0;
#X connect 53 0 35 0;
|