CreateVrmlfromString
Hi,
I wonder if there is a way to accept image texture and then from a ne
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 ca
include a gif file? I am using cortona browser. Thanks
Unregistered
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message28768.htm
|