Difference between revisions of "VRET Vizard"

From vret
Jump to: navigation, search
(Getting Started)
(Getting Started)
Line 10: Line 10:
 
Vizard uses a somewhat older version of cal3d that has been slightly modified, so it is probably incompatible with the versions available on the cal3d website. ([http://forum.worldviz.com/showthread.php?t=1659&highlight=maya source])
 
Vizard uses a somewhat older version of cal3d that has been slightly modified, so it is probably incompatible with the versions available on the cal3d website. ([http://forum.worldviz.com/showthread.php?t=1659&highlight=maya source])
 
So get the plugin from the [http://www.worldviz.com/download/index.php?id=9 Vizard site]
 
So get the plugin from the [http://www.worldviz.com/download/index.php?id=9 Vizard site]
 +
 +
==== Animation files and 3DS Max ====
 +
A small and quick tutorial (originally for the course IUXE) on how to import animation files into 3DS Max and export the model and its animations for use with Vizard.
 +
[http://www.bladegash.net/files/CustomAvatarsforVizard.doc Click]
 +
The end result is the following, basic looking, avatar: [http://www.bladegash.net/files/IUXE_avatar.zip Click]
  
 
== Resources ==
 
== Resources ==

Revision as of 18:09, 23 April 2009

Getting Started

Vizard has a very nice tutorial and help file that is also available online on the Vizard website. It explains the basics of Vizard and also if needed the basics of Python the language used to control Vizard.

Character pack

CFG files are actually plain text files that gather up the names and locations of all the various parts of the avatars: CSF (skeleton), CAF (animations), CMF (meshes), CRF (materials). They can be opened in any plain text editor, such as notepad. I am not aware of any plugins that allow cal3d files to be imported into modeling programs such as 3ds max. (source)

Cal3D

The file format for Vizard characters (.CFG).

Vizard uses a somewhat older version of cal3d that has been slightly modified, so it is probably incompatible with the versions available on the cal3d website. (source) So get the plugin from the Vizard site

Animation files and 3DS Max

A small and quick tutorial (originally for the course IUXE) on how to import animation files into 3DS Max and export the model and its animations for use with Vizard. Click The end result is the following, basic looking, avatar: Click

Resources

Vizard comes with a few build in object like avatars and a duck but you most likely want to add your own objects too your program. To avoid having to use absolute paths you can add your directory to the path list of Vizard so that you can reffere to the object directly.

viz.res.addPath(<'directory') example: viz.res.addPath('G:\Vizard projects')

you can also reffere to the directory where the main (running) .py file is located by adding the line

viz.res.addPath('\\\\')

You can also reffere to objects in subdirectory's of the path directory's you added. example:

viz.add('Avatars\Male\casual09_m_highpoly.cfg')

HMD

With just a few lines of code Vizard can easily work with an HMD. All you need to add/replace from your code to get a image on the HMD are:

viz.displaymode(800,600,32,60) <viz.displaymode(width-screen,heigh-screen,color depth,refresh rate)>
viz.go(viz.QUAD_BUFFER |viz.FULLSCREEN) <replace the viz.go() with this>

Trackers

flockofbirds

emagin

To get Vizard to accept input from the eMagin tracker (integrated in the HMD) you need to add the tracker as a sensor in Vizard and then link the sensor to the mainView-point

sensor = viztracker.add('emagin.dls')
viz.link(sensor,viz.MainView)

Don't forget to disable the eMagin mouse drivers if these are enabled in the "Control Panel>System>Hardware>Device Manager" list

Also make sure that the utility program of eMagin isn't running because only one program is aloud to access the tracker

Support

We got a year payed Vizard support that can be used when you run into problems. There is a public Vizard forum where you can post your problems but if you ain't getting the required answer there a ticket can be opened on the closed Vizard support section. The ticket has to be opened by Wouter Pasman but after that can be replied by and seen by anyone having the correct url.