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

Holger Seelig holger.seelig at yahoo.de
Sun Dec 6 12:14:27 PST 2015


Well I can understand that this is a desired feature and I am very aware 
of this. Well this will be implemented in  near  future releases of Cobweb.

Holger

Am 06.12.2015 um 20:37 schrieb John Carlson:
> Holger I mean VRMLScript that is in a separate file with url= attribute
> and not inline.
>
> On Dec 6, 2015 11:11 AM, "Holger Seelig" <holger.seelig at yahoo.de
> <mailto:holger.seelig at yahoo.de>> wrote:
>
>     VRMLScripts loaded via Script node should work as expected and they
>     must be created as the standard describes it. External
>     JavaScript/Browser support should also work kind of normal with the
>     difficulty that the external browser only can be accessed first
>     after the X3D tag is initialized, that means first after page load.
>     What are you interested in?
>
>     Holger
>
>     Am 05.12.2015 um 05:55 schrieb John Carlson:
>
>         I was able to get my scripts working loading from either X3D XML ->
>         Cobweb or X3D XML -> JSON -> Cobweb by inlining them.  My
>         scripts don’t
>         use ProtoInterface, so the lack of that didn’t cause an issue.
>         So the
>         good news is, we have Prototypes and Scripts partially working
>         with X3D
>         JSON and the X3D JSON loader, albeit via XML for now until we
>         can get
>         native tool support.  We do need ProtoInterfaces for a complete
>         tool,
>         but I’m hoping that will come without many more additional
>         changes to my
>         X3D JSON Loader (Don, can you change X3dToJson.xslt to output
>         ProtoInterface keys?  If you like I can be an alias for field
>         Thank you.)
>
>         I had one more question for Holger.  What about VRMLScripts
>         which are
>         external to the X3D or WRL file?  Thanks!
>
>         I will upload working loader to github and my website with examples.
>
>         John
>
>             On Dec 4, 2015, at 4:19 PM, John Carlson <yottzumm at gmail.com
>             <mailto:yottzumm at gmail.com>
>             <mailto:yottzumm at gmail.com <mailto:yottzumm at gmail.com>>> wrote:
>
>             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
>                 <mailto:john.carlson3 at sbcglobal.net>
>                 <mailto:john.carlson3 at sbcglobal.net
>                 <mailto: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 <mailto:x3d-public at web3d.org>
>                 <mailto:x3d-public at web3d.org <mailto: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
>
>                 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
>
>
>
>
>
>         _______________________________________________
>         x3d-public mailing list
>         x3d-public at web3d.org <mailto:x3d-public at web3d.org>
>         http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
>
>     --
>     Holger Seelig
>     Mediengestalter Digital – Digital Media Designer
>
>     Scheffelstraße 31a
>     04277 Leipzig
>     Germany
>
>     Cellular: +49 1577 147 26 11 <tel:%2B49%201577%20147%2026%2011>
>     E-Mail: holger.seelig at yahoo.de <mailto:holger.seelig at yahoo.de>
>     Web: http://titania.create3000.de
>
>     Future to the fantasy ★ ★
>


-- 
Holger Seelig
Mediengestalter Digital – Digital Media Designer

Scheffelstraße 31a
04277 Leipzig
Germany

Cellular: +49 1577 147 26 11
E-Mail:   holger.seelig at yahoo.de
Web:      http://titania.create3000.de

Future to the fantasy ★ ★



More information about the x3d-public mailing list