behavior to reload a single geometry in a VRML world ?
replacing the world is a bit excessive, especially if you are trying to do
it with a createVrmlFromString, and be able to do it an large number of
times, because the entire scene would need to be nested inside a string, and
then it would need to be nested again if that scene were to load another
scene, a better solution may be just to have an empty group node, and
replace its contents on demand
Quote:
> Hi,
> I think there are two ways to do this with VRMLscript:
> 1) e.g. field SFNode Transf USE trannsformnode
> And then work with .removeChildren and .addchildren
> 2) Make different worlds (*.wrl or createVrmlFromString) and then use the
> Browser.replaceWorld()
> For more details about these functions, check the tutorial
> www.vapourtech.com/vrml
> Gerry
> >Hi
> >I am looking for an efficient method to give the VRML client user the
> >possibility of reloading an updated version of one geometry in a VRML
> world.
> >I have one small VRML world in which one single object (a plant) is
> growing.
> >The plant files are stored on a server and updated by some scripts. I
would
> >like to give the visitor the possibility to "update on demand" the plant.
> >How could it be achieved please in VRML ?
> >Can it be done with a VRMLscript associated with a touchsensor ?
> >thanks
> >Web3D