aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAntoine Villeret <avilleret@users.sourceforge.net>2013-05-18 10:32:58 +0000
committerAntoine Villeret <avilleret@users.sourceforge.net>2013-05-18 10:32:58 +0000
commitd1ac1c3ae0dc4e6d66592e6312c891bbd0d8d5b0 (patch)
treeb515846ea018a19673a25bf5238d330eaeebf7f6 /examples
parent6d1e462140a725b5962c9ba59593517ec8eec444 (diff)
some small changes, mainly in comments
svn path=/trunk/externals/pix_opencv/; revision=17138
Diffstat (limited to 'examples')
-rw-r--r--examples/06_GPU_opticalflow/06_GPU_opticalflow.pd21
1 files changed, 13 insertions, 8 deletions
diff --git a/examples/06_GPU_opticalflow/06_GPU_opticalflow.pd b/examples/06_GPU_opticalflow/06_GPU_opticalflow.pd
index c607683..f3d562e 100644
--- a/examples/06_GPU_opticalflow/06_GPU_opticalflow.pd
+++ b/examples/06_GPU_opticalflow/06_GPU_opticalflow.pd
@@ -1,4 +1,4 @@
-#N canvas 371 215 1451 649 10;
+#N canvas 365 233 1451 649 10;
#X obj 936 450 cnv 15 200 40 empty empty empty 20 12 0 14 -261234 -66577
0;
#X obj 149 397 gemframebuffer;
@@ -20,11 +20,11 @@
#X msg 1224 432 lambda \$1;
#X msg 1288 431 scale \$1 \$1;
#X msg 194 533 rectangle 1 \, quality 1;
-#X obj 608 419 r of_dim;
+#X obj 607 408 r of_dim;
#X obj 1047 587 pix_texture;
-#X obj 342 179 gemwin;
+#X obj 325 187 gemwin;
#X msg 325 140 create \, 1;
-#X msg 398 140 0 \, destroy;
+#X msg 335 161 0 \, destroy;
#N canvas 493 216 473 548 glsl_frag 0;
#X obj 104 413 glsl_program;
#X msg 61 190 print;
@@ -97,20 +97,25 @@ the compiled shader program;
10 -262144 -1 -1 1 256;
#X obj 1289 359 loadbang;
#X msg 1289 382 1;
-#X text 815 119 this is an example of how to compute optical flow on
+#X text 77 60 this is an example of how to compute optical flow on
GPU;
#X obj 1240 212 loadbang;
#X msg 1240 232 rectangle 1 \, quality 1;
#X obj 1230 262 pix_texture;
-#X obj 1230 140 gemhead;
+#X obj 1229 150 gemhead;
#X text 571 179 <-- only render when a new image arrived;
-#X obj 1044 498 translateXYZ 0 -4 -4;
+#X obj 1047 498 translateXYZ 0 -4 -4;
#X obj 1229 174 translateXYZ 0 4 -4;
#X obj 1231 282 rectangle 4 3;
#X obj 1047 607 rectangle 4 3;
+#X text 663 440 this is the previous frame;
+#X text 246 399 this is the current frag;
+#X text 941 430 here is the gradient computaion;
+#X text 615 272 disable automatic rendering;
+#X text 1225 132 display original image;
#X connect 1 0 2 0;
-#X connect 1 1 8 1;
#X connect 1 1 21 1;
+#X connect 1 1 8 1;
#X connect 2 0 3 0;
#X connect 3 0 14 0;
#X connect 4 0 19 0;