summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbustico2011-01-27 12:32:14 +0000
committerbustico2011-01-27 12:32:14 +0000
commit29021791e51b63296836d4bc1f4f6290b3a71855 (patch)
treee01d56dd96f07ee2c257a4520a43e168c04f464a
parent0cabd03d3f5ef640ca49e6555cbcaaf01e7138f0 (diff)
downloadivy-inventor-master.zip
ivy-inventor-master.tar.gz
ivy-inventor-master.tar.bz2
ivy-inventor-master.tar.xz
-rw-r--r--src/example.iv10
-rw-r--r--src/readme.txt26
2 files changed, 29 insertions, 7 deletions
diff --git a/src/example.iv b/src/example.iv
index cffd149..5f94584 100644
--- a/src/example.iv
+++ b/src/example.iv
@@ -3,25 +3,25 @@
DEF realTime ElapsedTime { }
-DEF ivy IvyEngine {
+DEF ivybus IvyEngine {
applicationName "COIN_IVY"
readyMessage "COIN_IVY READY"
}
DEF ivyprobe_ready IvyExpression {
- ivy USE ivy
+ ivy USE ivybus
expression "^IVYPROBE Ready"
}
DEF ivyStart IvyMessage {
- ivy USE ivy
+ ivy USE ivybus
trigger = USE ivyprobe_ready.arguments
message "DEBUG Message Ready received from ivyprobe"
}
DEF ivyDrag IvyMessage {
- ivy USE ivy
+ ivy USE ivybus
SendOnParamChange TRUE
message "DragVal x=$0 y=$1"
params = DEF messageIn Concatenate {
@@ -32,7 +32,7 @@ DEF ivyDrag IvyMessage {
}
DEF ivyGetServoVal IvyExpression {
- ivy USE ivy
+ ivy USE ivybus
expression "^val=(.*)"
}
diff --git a/src/readme.txt b/src/readme.txt
index 01c0b5f..f0e4313 100644
--- a/src/readme.txt
+++ b/src/readme.txt
@@ -10,6 +10,8 @@ to enable .iv scene to be easily drivable by externals events.
° PREREQUISITE
Of course, since it is an Engine Node, you will need to install Coind3D
+and the IvyEngine plugs on the Qt mainloop, so this will work
+with SoQt, not SoXt.
IvyEngine need IVY-c++, which itself is a wrapper over ivy-c
@@ -30,9 +32,29 @@ make ; sudo make install
and at last ivyengine
cd ../../../ivy-c++
-svn co http://svn.tls.cena.fr/svn/ivy/ivy-c++/trunk/
-cd /trunk/src
+svn co http://svn.tls.cena.fr/svn/ivy/ivy-inventor
+cd src
make
+° TEST
+launch the viewer on the example:
+simpleView example.iv
+
+launch another ivy agent, ivyprobe which permit to bind to message, and
+to send messages from a terminal :
+ivyprobe '(.*)'
+'(.*)' is for binding for all the messages which are sent on the ivy bus.
+
+now, you can see that if you move the dragger on the iv scene, you receive
+message on ivyprobe. On the other hand, if you type val=hello in ivyprobe, the
+SoText3 will reflect the change.
+
+° COMPATILITY
+For now, this is just tested on linux, if someone made change to be compatible
+with mac or/and windows, tell me, i'll will commit the change on svn.
+
+more on the ivy software bus :
+http://www2.tls.cena.fr/products/ivy/
+alexandre.bustico@cena.fr