[x3d-public] [x3d] V4.0 Open discussion/workshopon X3D HTMLintegration > brainstorming > protos

Joe D Williams joedwil at earthlink.net
Fri Jun 10 10:34:17 PDT 2016


>  (It might be if I knew X3D).  Hence my cry for help several months 
> ago.

OK John, we are here now, and want to help. Can you tell me again now 
what detail it is that you want to know about X3D?

Thanks and Best,
Joe


----- Original Message ----- 
From: "John Carlson" <yottzumm at gmail.com>
To: "doug sanden" <highaspirations at hotmail.com>; 
<x3d-public at web3d.org>; <x3d at web3d.org>
Sent: Friday, June 10, 2016 8:26 AM
Subject: Re: [x3d] [x3d-public] V4.0 Open discussion/workshopon X3D 
HTMLintegration > brainstorming > protos


You can run-time instance Scripts by @DEFfing  each one and providing 
a prototype expander which renames each Script.  After that, once you 
have a unique name, you can generate JavaScript from the Script in a 
JavaScript namespace or object.  You can already do this with 
 “require” I believe.   All we need to do is do what require does for 
each instance of the script.

I have done this with my post prototype expander script, but it doesn’t 
handle the X3D event stuff yet.  It has it’s own eventing mechanism.

I think it’s doable to have separate instances of JavaScript.  Scripts 
can be run-time instanced.  I didn’t say it was easy, and my code isn’t 
quite there yet (It might be if I knew X3D).  Hence my cry for help 
several months ago.

We have to be willing to separate ourselves from our comfort zones and 
actually learn the features of JavaScript 😊.

John

Sent from Mail for Windows 10

From: doug sanden
Sent: Thursday, June 9, 2016 11:28 AM
To: 'X3D Graphics public mailing list'
Subject: Re: [x3d-public] [x3d] V4.0 Open discussion/workshop on X3D 
HTMLintegration > brainstorming > protos

creative strategy example > protos
when it comes to protos, an element of that was something about 
Script. If you can't have a Script node then what's the point of 
protos. But html does have scirpts. Am I right to break that down 
into:
e1 scripts can't be run-time instanced ie if you have one copy of a 
script, you can't make another copy at runtime with the same name

other domains > adware
I see lots of advertisements popping up in webpages. I suspect they 
have their own scripts and content. Is it possible to instance 2 ads 
of the same type on the same page? If so, how do they do it, without 
confusing the scripts?
so an adware solution to the script part of proto would be an element 
solution from another domain.

You would write that into the table and keep going.





--------------------------------------------------------------------------------


> _______________________________________________
> x3d mailing list
> x3d at web3d.org
> http://web3d.org/mailman/listinfo/x3d_web3d.org
> 




More information about the x3d-public mailing list