DiVEizingVirtools

DiVEizing a Virtools Program:

(short version)

1) import V:\Virtools\projects\vrbase\DukeVR_Base_v0.4.nmo into your Virools program

2) import a navigation system of your choice (fly or walk) from the vrbase folder.

3) copy or create a .bat file whose single line contains

V:\Virtools\scripts\virtools_wrapper.bat FullDirectoryPath file.cmo

You're now good to go. In the DiVE, double clik the .bat file to run your program.


(longer version)

1) Make sure you have access to the DiVE Novel file system:

a) go to it.pratt.duke.edu -> FAQs. Download and install a Novell client for your computer.

b) email Renee Brown (brownrr@duke.edu) to request permission to view the DiVE novel file system.

2) Create a folder for yourself under Virtools -> Projects on the 'Quasar_group_server\Groups\Research' Novel file system. If you are a student, put the folder in the semester of your project (i.e. Spring2007). Name the folder FirstnameLastname. Make sure your computer is mounting the Novell file system on drive 'V:'. It makes everything easier.

3) Save your Virtools project into the Novel folder (i.e. myProject.cmo).

4) Open myProject.cmo in Virtools.

5) Do a Resources -> import File and import Virtools\projects\vrbase\DukeVR_Base_v0.4.nmo.

6) Take a look at the folder Virtools\projects\vrbase on the Novell file system. Notice it has many *.nmo files that are useful. For example, you could also import a navigation method into your myProject.cmo (walk or Fly). The sky.nmo imports the SkyAround building block.

7) You should now be able to run your myProject.cmo on your computer and it will go into DiVE simulator mode. See the file 'simulator_controls.txt' in the vrbase folder to see how to use the DiVE simulator.


To run your program in the DiVE, you need to do one more step:

Make a file called myProject.bat

Put (all in one line) the following:

V:\Virtools\scripts\virtools_wrapper.bat FullPathToYourDirectory myProject.cmo

Save the myProject.bat file. In the DiVE, open this file and your Virtools project should appear in the DiVE.