diff --git a/examples/Forest/Forest.pde b/examples/Forest/Forest.pde index 06effbe..8152725 100644 --- a/examples/Forest/Forest.pde +++ b/examples/Forest/Forest.pde @@ -1,3 +1,5 @@ +import rwmidi.*; + import oscP5.*; import netP5.*; @@ -10,7 +12,7 @@ void setup() { size(950,614,OPENGL); hint(ENABLE_OPENGL_4X_SMOOTH); playback = new AnimataPlayback(this); - playback.addScene("forest.nmt"); + playback.loadSet("set.xml"); } void draw() { diff --git a/examples/Forest/data/bird.png b/examples/Forest/data/forest/bird.png similarity index 100% rename from examples/Forest/data/bird.png rename to examples/Forest/data/forest/bird.png diff --git a/examples/Forest/data/bird2.png b/examples/Forest/data/forest/bird2.png similarity index 100% rename from examples/Forest/data/bird2.png rename to examples/Forest/data/forest/bird2.png diff --git a/examples/Forest/data/cellist.png b/examples/Forest/data/forest/cellist.png similarity index 100% rename from examples/Forest/data/cellist.png rename to examples/Forest/data/forest/cellist.png diff --git a/examples/Forest/data/forest.nmt b/examples/Forest/data/forest/forest.nmt similarity index 100% rename from examples/Forest/data/forest.nmt rename to examples/Forest/data/forest/forest.nmt diff --git a/examples/Forest/data/pianotreebetter.png b/examples/Forest/data/forest/pianotreebetter.png similarity index 100% rename from examples/Forest/data/pianotreebetter.png rename to examples/Forest/data/forest/pianotreebetter.png diff --git a/examples/Forest/data/pianotreeleaves.png b/examples/Forest/data/forest/pianotreeleaves.png similarity index 100% rename from examples/Forest/data/pianotreeleaves.png rename to examples/Forest/data/forest/pianotreeleaves.png diff --git a/examples/Forest/data/violaplayer.png b/examples/Forest/data/forest/violaplayer.png similarity index 100% rename from examples/Forest/data/violaplayer.png rename to examples/Forest/data/forest/violaplayer.png diff --git a/examples/Forest/data/set.xml b/examples/Forest/data/set.xml new file mode 100644 index 0000000..4730ffa --- /dev/null +++ b/examples/Forest/data/set.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + +