In the next example we use Radio buttons to switch the Background node of the scene from one representation to another. In the example, we put the Script node definition into a PROTO definition so that we do not need to repeat the same code for three implementation. |