Cartoon Robot Steve

Filed under: Scripts 
Tags:

Steve is a cartoon robot model included with Vizard's resources. This article contains a video of him being controlled by a keyboard tracker and an example script that shows how to add him to a scene using the steve.py module.
Read more

Launching scripts from the command line

Filed under: Scripts 
Tags:

This article describes how to launch Vizard scripts using the command line. Running scripts from the command line allows you automate the execution of your scripts using 3rd party apps. Using the command line also enables you to pass arguments to your script, allowing you to change the behavior without modifying the script.
Read more

Introduction to the ARToolKit plug-in

Filed under: Scripts 
Tags:

This plug-in provides support for the ARToolKit Professional library by ARToolworks. It allows for the tracking of image and matrix based markers using a standard webcam. Vizard can then render models and combine them with video captured from the webcam. Vizard uses the position and orientation of the markers for placing these models in the AR scene. The video tutorial in this article shows a short demo of this in action and then steps through the basic code for tracking a marker and linking a model to it.
Read more

Lens Correction

Filed under: Scripts 
Tags:

Vizard can perform lens correction on the output image to account for distorted displays, such as HMDs. The video below shows a scene with and without lens correction.
Read more

Embedding resources in scripts

Filed under: Scripts 
Tags: ,

This article describes how to embed certain texture and model resources within your script. Using this technique allows you to distribute or move your script to different locations without needing to worry about copying any resources along with it.

Read more

Full Screen Anti-Aliasing (FSAA)

Filed under: Scripts 
Tags:

One of the simplest ways of improving the visual quality of your scripts is to enable full screen anti-aliasing (FSAA). Anti-Aliasing is a technique used to make jagged edges of polygons appear smooth. Most modern graphics cards support FSAA and it only takes a single line of Vizard code to enable it.

Read more

Display background texture

Filed under: Scripts 
Tags: ,

Vizard provides the option of changing the background color of the scene, but some users need the ability to display an image instead of a single color. This article describes how to replace the background color of your scene with any texture object, including images and videos.

Read more

Shadow Module

Filed under: Scripts 
Tags: ,

Use the shadow module to create dynamically projected shadows within Vizard. This post describes how to use the module and includes a short video and sample script that shows an avatar walking around with a shadow.
Read more

Avatar Collisions

Filed under: Scripts 
Tags: ,

This article descibes how to detect collisions on individual body parts of an avatar. Included is some sample code and a short video of this in action.
Read more

Adding a Mirror

Filed under: Scripts 
Tags: , ,

This post provides some sample code for using a mirror in your Vizard script and a short video demonstrating its use within the Vizard art gallery. You can apply the mirror settings to a flat model that you have in your environment or a texture quad that you add in your script. When you use the addMirror function shown here you pass an object that will take on a mirror as its texture.
Read more