[x3d-public] Using Switch Node in X3DOM

Andreas Plesch andreasplesch at gmail.com
Mon Feb 18 12:03:00 PST 2019


Len, the x3dom dev version has all the Event Utilities, including
IntegerSequencer.

In x3dom you could alternatively use the nonstandard outputchange DOM event
to trigger direct changes to the image url.

Hope this helps,

Andreas


> Date: Mon, 18 Feb 2019 11:05:13 -0600
> From: cbullard at hiwaay.net
> To: X3D Graphics public mailing list <x3d-public at web3d.org>
> Subject: [x3d-public] Using Switch Node in X3DOM
> Message-ID:
>         <20190218110513.Horde.7jktM0IIa4X8U52mp66Bceq at webmail.hiwaay.net>
> Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
>
>
> I am creating a simple animation using a switch node to change the
> image on an animated box.  In VRML97
> I used a PROTO to manage this.  In X3D I might have used an
> integerSequencer to provide the SFInts to the
> whichChoice field.  In X3DOM according to the literature there is no
> IntegerSequencer.   I found the example
> that uses an HTML input slider to set the state.  However, I hoped to
> do this without such a control on
> the page and have not located any means to route sfInts to the
> whichchoice field.
>
> Is there a common solution?
>
> len
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190218/b0afe566/attachment.html>


More information about the x3d-public mailing list