[x3d-public] [x3dom-users] Using different textures for multipleinstancesofthesame inline

John Carlson yottzumm at gmail.com
Sun Apr 1 20:19:25 PDT 2018


Here’s an example of X3DOM JSONScript (X3DJSONLD) with 2 subscenes.   This allows you to include scripts from several JSON files.

https://coderextreme.net/X3DJSONLD/src/main/html/prototypes.html

Made some upgrades to Scripts, so they are more robustly loaded under multiple selectors and multiple files.

X3DOM JSONScript is now at alpha 0.2.

https://coderextreme.net/X3DJSONLD/doc/GettingStarted.pdf

(but I haven’t updated the version on the PDF or RTF, sorry).

I’ve introduced initializeScripts() and added a parameter to loadScripts().

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Sunday, April 1, 2018 5:13 PM
To: x3dom mlist; x3d-public at web3d.org
Subject: RE: [x3dom-users] Using different textures for multipleinstancesofthesame inline

It’s not a direct answer to your question, but you may be able to use the protoExpander with a Proto with an Inline.

Here’s a better example:

https://coderextreme.net/X3DJSONLD/src/main/html/flowers2.html

Sent from Mail for Windows 10

From: John Carlson
Sent: Sunday, April 1, 2018 3:13 PM
To: x3dom mlist
Subject: RE: [x3dom-users] Using different textures for multipleinstancesofthe same inline

I’ve confirmed these links work now.  There was a small issue with prototype.html (case sensitive windows hid it).

https://coderextreme.net/X3DJSONLD/src/main/html/prototypes.html should work properly

John
Sent from Mail for Windows 10

From: John Carlson
Sent: Sunday, April 1, 2018 3:04 PM
To: x3dom mlist
Subject: RE: [x3dom-users] Using different textures for multiple instancesofthe same inline

Apparently mailers don’t allow you to edit existing URLs

https://coderextreme.net/X3DJSONLD/src/main/html/prototype.html

https://coderextreme.net/X3DJSONLD/src/main/html/flipper.html

Features of X3DJSONLD 2.0 beta.

John



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180401/9abb95a5/attachment.html>


More information about the x3d-public mailing list