PDA

View Full Version : Adding to Vizard's search path


vr_boyko
05-11-2005, 04:40 PM
I would like to add certain (networked) directories to the default vizard search path so that new animations and textures can be used by all programmers on all machines in the lab. How could I do that?

farshizzo
05-11-2005, 05:35 PM
Hi,

For each computer create an environment variable named OSG_FILE_PATH. Set the value of the environment variable to the your network path. If you have more than one path, separate them by semicolons.

To add an environment variable, right click on My Computer on the desktop. Click Properties. Click on the Advanced tab. Click on the Environment Variables button at the bottom. Under the System variables section click the New button. For the Variable name enter OSG_FILE_PATH. For the Variable value enter the name of your network path.

vadrian
05-19-2005, 07:22 PM
I believe you can also do this

import sys
sys.path.append('/path/to/folder/')