#1
|
|||
|
|||
Executable only problem
Hi - I am simulating an underwater scene and used a great routine posted on the forum a while ago. It uses a water.dlr file to give a moving sea surface. This works fine in Vizard 3.0 but when saved as an executable file causes the programme to crash. It says Vizard launching then opens the moving graphic then closes immediately - although both winviz and the executable remain running in the task manager. Removing the line add ('water.dlr') solves the problem with the executable but of course has no sea surface. Any ideas anyone?
|
#2
|
|||
|
|||
Hi,
It crashes here as well. The problem is that the water.dlr plugin loads water.rgb. Vizard cannot detect this, so it is not included in the published EXE. Unforturnately, the plugin does not perform any error checking, so when it can't find the file it ends up crashing. WorldViz did not create this plugin, so you will need to contact the creator of the plugin if you want it fixed. A solution is to manually add water.rgb to the dependency list of the publish exe by adding the following line of code in your script: Code:
viz.res.addPublish('water.rgb') |
#3
|
|||
|
|||
Thanks
Thanks Farshizzo - manually adding water.rgb works a treat.
|
|
|