[x3d-public] Using Switch Node in X3DOM

cbullard at hiwaay.net cbullard at hiwaay.net
Mon Feb 18 09:05:13 PST 2019


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



More information about the x3d-public mailing list