[x3d-public] X3D Scripting for X3DOM w/o reading standard

John Carlson yottzumm at gmail.com
Fri Dec 3 21:38:45 PST 2021


I'd also like to refactor my random number code into a particle system 
Emitter.  Should be interesting at some point, possibly removing the 
requirement for scripts entirely.


Hmm.


John

On 12/3/21 23:26, John Carlson wrote:
>
> Select ../data/x3dconnectorProto.json in pulldown on 
> https://coderextreme.net/X3DJSONLD/src/main/html/index.html for a 
> related effort.
>
> Thanks!
>
> John
>
> On 12/3/21 22:48, John Carlson wrote:
>> I believe this example works inside both X3DOM and X_ITE, but 
>> doubters can research:
>> https://coderextreme.net/X3DJSONLD/src/main/html/john.html
>>
>> Select ../personal/bubs2.json from select pull down.
>>
>> Really, I’m excited for creating something that works for 
>> ../personal/force.json, and then perhaps I can dispense of this.
>>
>> The goal is to create a force-directed graph with X3D.
>>
>> Thanks!
>>
>> On Fri, Dec 3, 2021 at 10:31 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>     I think we should seriously consider question 1.   Are scripts
>>     that are inside protobodies copied?
>>
>>     Leonard at one point stated that scripts in X3DOM need to be
>>     handled with scripts before the Protos,  which befuddled me.  But
>>     now that we have Protos started or finished, how do we handle all
>>     the copied scripts inside the instanced Protos, if that’s how
>>     protos are instantiated?  I know this is handled in X_ITE, have
>>     people looked at X_ITE enough to provide feedback?
>>
>>     I could probably give an overview of what I did with scripts and
>>     X3DOM, but I don’t think it’s appropriate production code.
>>
>>     Should we state that scripts should not be in protobodies?  Thoughts?
>>
>>     John
>>
>>     On Tue, Nov 30, 2021 at 1:39 PM John Carlson <yottzumm at gmail.com>
>>     wrote:
>>
>>         Information needed:
>>
>>
>>         1.   Do scripts in proto bodies get copied?
>>
>>         2.  What are the stumbling blocks to getting script fields
>>         into the event model?
>>
>>         3.  If scripts are transformed, how?
>>
>>         4.  What is the new event model for X3D4?
>>
>>         John
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211203/71f6f033/attachment-0001.html>


More information about the x3d-public mailing list