diff options
Diffstat (limited to 'doc/tutorials/visual')
-rw-r--r-- | doc/tutorials/visual/03.gemwin_control.pd | 17 | ||||
-rw-r--r-- | doc/tutorials/visual/04.render_chains.pd (renamed from doc/tutorials/visual/03.render_chains.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/visual/05.basic_2d_objects.pd (renamed from doc/tutorials/visual/04.basic_2d_objects.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/visual/06.lighting.pd (renamed from doc/tutorials/visual/05.lighting.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/visual/07.basic_3d_objects.pd (renamed from doc/tutorials/visual/06.basic_3d_objects.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/visual/08.manipulations.pd | 5 | ||||
-rw-r--r-- | doc/tutorials/visual/09.gem_units.pd | 32 | ||||
-rw-r--r-- | doc/tutorials/visual/10.exercise.pd | 8 | ||||
-rw-r--r-- | doc/tutorials/visual/Attic/10.exercise.pd | 8 |
9 files changed, 70 insertions, 0 deletions
diff --git a/doc/tutorials/visual/03.gemwin_control.pd b/doc/tutorials/visual/03.gemwin_control.pd new file mode 100644 index 00000000..3b4d114f --- /dev/null +++ b/doc/tutorials/visual/03.gemwin_control.pd @@ -0,0 +1,17 @@ +#N canvas 10 40 624 464 10; +#X obj 8 10 cnv 15 400 40 empty empty gemwin_control 20 12 0 24 -228992 +-66577 0; +#X obj 465 16 gemwin_control; +#X obj 466 60 import Gem; +#X text 20 78 From now on in this tutorial \, the [gemwin_control] +object will be used to control the gemwin. It is just a handy shortcut +with a GUI for controlling the window creation/destruction and the +rendering.; +#X obj 166 273 gemwin_control; +#X text 22 161 - The "window" checkbox sends [create( and [destroy( +to [gemwin]; +#X text 24 197 - the "render" checkbox sends 1 or 0 to [gemwin] to +control the rendering.; +#X text 23 341 Each checkbox will turn green when enabled. When the +whole object turns green \, that means everything is ready to display +data in the gemwin.; diff --git a/doc/tutorials/visual/03.render_chains.pd b/doc/tutorials/visual/04.render_chains.pd index e92d1b4f..e92d1b4f 100644 --- a/doc/tutorials/visual/03.render_chains.pd +++ b/doc/tutorials/visual/04.render_chains.pd diff --git a/doc/tutorials/visual/04.basic_2d_objects.pd b/doc/tutorials/visual/05.basic_2d_objects.pd index dc6d6da9..dc6d6da9 100644 --- a/doc/tutorials/visual/04.basic_2d_objects.pd +++ b/doc/tutorials/visual/05.basic_2d_objects.pd diff --git a/doc/tutorials/visual/05.lighting.pd b/doc/tutorials/visual/06.lighting.pd index 3b5d1070..3b5d1070 100644 --- a/doc/tutorials/visual/05.lighting.pd +++ b/doc/tutorials/visual/06.lighting.pd diff --git a/doc/tutorials/visual/06.basic_3d_objects.pd b/doc/tutorials/visual/07.basic_3d_objects.pd index 3ce2e586..3ce2e586 100644 --- a/doc/tutorials/visual/06.basic_3d_objects.pd +++ b/doc/tutorials/visual/07.basic_3d_objects.pd diff --git a/doc/tutorials/visual/08.manipulations.pd b/doc/tutorials/visual/08.manipulations.pd new file mode 100644 index 00000000..a4adbd51 --- /dev/null +++ b/doc/tutorials/visual/08.manipulations.pd @@ -0,0 +1,5 @@ +#N canvas 15 58 632 452 10; +#X obj 8 10 cnv 15 400 40 empty empty manipulations 20 12 0 24 -228992 +-66577 0; +#X obj 465 16 gemwin_control; +#X obj 466 60 import Gem; diff --git a/doc/tutorials/visual/09.gem_units.pd b/doc/tutorials/visual/09.gem_units.pd new file mode 100644 index 00000000..db0c06b8 --- /dev/null +++ b/doc/tutorials/visual/09.gem_units.pd @@ -0,0 +1,32 @@ +#N canvas 574 327 632 452 10; +#X obj 8 10 cnv 15 400 40 empty empty gem_units 20 12 0 24 -228992 +-66577 0; +#X obj 465 16 gemwin_control; +#X obj 466 60 import Gem; +#X obj 179 155 gemhead; +#X obj 178 127 tgl 15 1 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1 +; +#X obj 84 329 gemhead; +#X obj 83 301 tgl 15 1 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1 +; +#X obj 84 387 circle 1; +#X obj 179 183 circle 1; +#X text 12 69 Everything in Gem uses the same units for measurement +of space. First we have here a circle with a radius of 1:; +#X text 15 235 Here a circle with a radius of one is moved 1 unit on +the X-axis. You can see that the center points of the circles below +are at the edge of the above circle.; +#X obj 263 329 gemhead; +#X obj 262 301 tgl 15 1 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1 +; +#X obj 263 387 circle 1; +#X obj 263 359 translateXYZ 0 1 0; +#X obj 84 359 translateXYZ 1 0 0; +#X connect 3 0 8 0; +#X connect 4 0 3 0; +#X connect 5 0 15 0; +#X connect 6 0 5 0; +#X connect 11 0 14 0; +#X connect 12 0 11 0; +#X connect 14 0 13 0; +#X connect 15 0 7 0; diff --git a/doc/tutorials/visual/10.exercise.pd b/doc/tutorials/visual/10.exercise.pd new file mode 100644 index 00000000..964fa05c --- /dev/null +++ b/doc/tutorials/visual/10.exercise.pd @@ -0,0 +1,8 @@ +#N canvas 10 40 620 460 10; +#X obj 8 10 cnv 15 400 40 empty empty exercise 20 12 0 24 -228992 -66577 +0; +#X obj 465 16 gemwin_control; +#X obj 466 60 import Gem; +#X text 14 68 EXERCISE:; +#X text 14 92 Build a patch that allows you to move an object around +the Gem windows and change its color.; diff --git a/doc/tutorials/visual/Attic/10.exercise.pd b/doc/tutorials/visual/Attic/10.exercise.pd new file mode 100644 index 00000000..964fa05c --- /dev/null +++ b/doc/tutorials/visual/Attic/10.exercise.pd @@ -0,0 +1,8 @@ +#N canvas 10 40 620 460 10; +#X obj 8 10 cnv 15 400 40 empty empty exercise 20 12 0 24 -228992 -66577 +0; +#X obj 465 16 gemwin_control; +#X obj 466 60 import Gem; +#X text 14 68 EXERCISE:; +#X text 14 92 Build a patch that allows you to move an object around +the Gem windows and change its color.; |