| Unregistered 2004-01-05, 9:06 pm |
| Hi,
I wonder if there is a way to accept image texture and then from a new node? Example
newvrml = 'DEF ROOT Group {';
newvrml +=' children [';
newvrml +=' Transform {';
newvrml +=' translation -2 2 0';
newvrml +=' children [';
newvrml +=' DEF TOUCH TouchSensor {}';
newvrml +=' Shape {';
newvrml +=' appearance Appearance {';
newvrml +=' texture ImageTexture {
newvrml +=' url "imagefile.gif" ';
newvrml +=' geometry Sphere {}';
newvrml +=' }';
newvrml +=' ]';
newvrml +=' }';
newvrml +=' ]';
newvrml +='}';
I tried the above and the browser complains about this line url "imagefile.gif" ';
Is there escape character in vrmlscript? Or is there anyway I can include a gif file? I am using cortona browser. Thanks! |