Cluster clients do not need to have a copy of the vizard script in order to run properly, however they do need a copy of all resources that are used in order to display on the clients. There are a few ways to ensure the sharing of resources.
Using files that exist in each client's Vizard resource folder (C:\Program Files\WorldViz\Vizard4\resources) will ensure each can load them.
Resources across all machines need to be located in identical path locations. If the resources for that master are located on the Desktop for the Window's user Vizard, then the path may be "C:\Documents and Settings\Vizard\Desktop" thus all other computers need to have their resources in that location.
To avoid having to distribute copies of files across machines an absolute network path can be specified. Assuming a simple file sharing network with computer bender and resource folder res then files should be added to the script like so:
plane = viz.add('\\\\bender\\res\\plane.wrl')
Note that each back slash needs to be duplicated, and that the master and each client computer needs to have access to the network share.
NOTE: Using this method can slow down loading times due to simultaneous disk access by multiple computers.
To avoid absolute paths, one can modify the resource path at run time by calling viz.res.addPath(). To achieve the same result with importing the plane as before, one can do the following:
viz.res.addPath('\\\\bender\\res')
plane = viz.add('plane.wrl')
Once again note the double back slashes in place of the single back slashes. This can also be used with local paths just remember to use double back slashes in place of back slashes. Also multiple paths can be added if files are stored in different locations on different machines.