-
Notifications
You must be signed in to change notification settings - Fork 2
/
of.depth-help.pd
31 lines (31 loc) · 1 KB
/
of.depth-help.pd
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
#N canvas 581 82 637 350 12;
#X declare -lib ofelia;
#X obj 9 10 cnv 15 600 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 462 45 declare -lib ofelia;
#X text 200 203 -> rendering priority set by draw order;
#X text 201 191 depthTest "Off": Easier for 2d;
#X text 198 162 -> rendering priority set by Z-position;
#X text 198 143 depthTest "On" (default): Better for 3d;
#X obj 14 98 of.draw;
#X obj 14 263 of.box, f 15;
#X obj 109 149 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 14 123 of.image data/image.jpg;
#X text 128 147 on/off;
#X text 21 22 Activate / desactivate Depth test (useful on 3d shape)
;
#X obj 14 176 of.depth 0, f 14;
#X text 22 47 Arguments: depthtest (default value: 1);
#X obj 518 19 of.window 1;
#X obj 497 21 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 41 204 loadbang;
#X msg 41 229 orientation 30 30 0;
#X connect 6 0 9 0;
#X connect 8 0 12 1;
#X connect 9 0 12 0;
#X connect 12 0 7 0;
#X connect 15 0 14 0;
#X connect 16 0 17 0;
#X connect 17 0 7 0;