[x3d-public] Holger: trying to understand how to create valid X3D scripts that run in Cobweb

John Carlson yottzumm at gmail.com
Fri Dec 4 14:19:28 PST 2015


I send this email from the wrong address.  Resending.

Also, I was able to convert the .wrl file to .x3d using the instant reality online converter and was able to view the result file in instant player on the mac.  I will try to see if I can get instant player’s and cobweb’s x3d files to load in cobweb on my loader page.  More research!

John
> Begin forwarded message:
> 
> From: John Carlson <john.carlson3 at sbcglobal.net>
> Date: December 4, 2015 at 3:52:54 PM CST
> To: X3D Graphics public mailing list <x3d-public at web3d.org>
> Subject: Holger: trying to understand how to create valid X3D scripts that run in Cobweb
> 
> In an attempt to understand why my scripts weren’t working in Cobweb, I went digging into Cobweb’s examples at:
> 
> https://github.com/create3000/Library/tree/master/Examples/VRMLBanner <https://github.com/create3000/Library/tree/master/Examples/VRMLBanner>
> 
> I opened the .wrl file in InstantPlayer, it worked fine.  I tried to open the .x3d file in InstantPlayer, all kinds of errors.   Does Cobweb run scripts in .x3d files or are they not supported and only scripts in .wrl files are supported?  I didn’t see any kind of inclusion between the vrml banner.wrl and the vrml banner.x3d, so I assumed that they were equivalent converted examples.  I will try my own conversion.  I will also try to convert my scripts to .wrl and see if they run in cobweb.  I didn’t see any problems with X3D XML scripts when checking for the to vrml conversion.
> 
> What is the general level of support for VRMLScripting in XML?  Not having looked at many scripts inside prototypes, I was suddenly surprised by all the connect statements. WOW!   Frankly, I am surprised my scripts work at all.
> 
> More research to do,
> 
> John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151204/1a5506e7/attachment.html>


More information about the x3d-public mailing list