Vizard 7 » Tutorials & Examples » Getting your feet wet » Creating a New Script
7.7

Tutorial: Creating a New Script

Let's start by creating a fresh script. If you haven't already done so, start Vizard. Make a new script by selecting File > New Vizard File and add the following lines to it:

import viz
viz.go()

The first line is always necessary - it is used to gain access to the entire Vizard library. The second line, viz.go() starts an empty world.

 

Next, let's save the script. Generally, script location is important because resources (model files, media files, etc) are accessed relative to this location. However, in this tutorial and all other tutorials here in the Vizard help, the resources used are included with the Vizard installation and will be found wherever the script is saved. For organizational purposes we suggest you create a folder on your desktop (e.g. My Vizard tutorials) to place your tutorial files.

 

Select File > Save, browse to the folder location and enter VizardIntro for file name.

Launch into a new world

Creating a new Script

Setting the Scene

Moving the Viewpoint

Manipulating 3D Models

Animating 3D Models

Timer Events

Adding Avatars

Inserting User Interaction