http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20426758.html
but didn't find a resolution to the issue. (my sample code is below)
Thank you for your help!
Shape {
appearance Appearance {
material Material {
diffuseColor 1 0.611764 0.176469
emissiveColor 1 0.470587 0.376469
}
}
geometry IndexedLineSet {
coord DEF Lines_Coord Coordinate {
point [
1 0 -1 #Point 0 - Head
-1 0 -1 #Point 1 - R_Finger
0 0 1 #Point 2 - R_Wrist
0 0.5 0 #Point 3 - R_Elbow
0 0 0 #Point 4 - R_Shoulder
0 0 0 #Point 5 - Neck
0 0 0 #Point 6 - L_Shoulder
0 0 0 #Point 7 - L_Elbow
0 0 0 #Point 8 - L_Wrist
0 0 0 #Point 9 - L_Finger
0 0 0 #Point 10 - Mid_Back
0 0 0 #Point 11 - Lower_Back
0 0 0 #Point 12 - R_Upper_Leg
0 0 0 #Point 13 - R_Lower_Leg
0 0 0 #Point 14 - R_Heel
0 0 0 #Point 15 - R_Toe
0 0 0 #Point 16 - L_Upper_Leg
0 0 0 #Point 17 - L_Lower_Leg
0 0 0 #Point 18 - L_Heel
0 0 0 #Point 19 - L_Toe
]
}
coordIndex [
0 5 -1
4 5 -1
3 4 -1
2 3 -1
1 2 -1
5 6 -1
6 7 -1
7 8 -1
8 9 -1
5 10 -1
4 10 -1
6 10 -1
10 11 -1
11 12 -1
11 16 -1
12 16 -1
12 13 -1
13 14 -1
14 15 -1
16 17 -1
17 18 -1
18 19 -1
]
}
}
DEF Head_coordscripter1 Script {
url [
"javascript:
function float_in(value) {
c.point[0].x=value.x;
c.point[0].y=value.y;
c.point[0].z=value.z;
}
"
]
directOutput TRUE
field SFNode c USE Lines_Coord
eventIn SFVec3f float_in
}
... there are 19 other scripts similar to the above.
#sample ROUTE
ROUTE Head_Dummy01-POS-INTERP.value_changed TO Head_coordscripter1.float_in
"EECS" <aki...@engin.umich.edu> wrote in message
news:b1ennh$9v$1...@news.eecs.umich.edu...
http://www-personal.umich.edu/~akinter/flex_only_new120603.wrl
Thanks for your help!
"Paul Aslin" <fabricat...@spam.spam.goaway.yahoo.com> wrote in message
news:3e3f3...@news.iprimus.com.au...