PDA

View Full Version : VRML animation/Ar Toolkit to Processing questions


sante
September 4th, 2005, 04:48 AM
Hi,
I'm a fine arts student in wellington using AR Toolkit for one of my projects... I just have a couple of quick questions that hopefully someone can point me in the direction of an answer for -
Does the toolkit support simple VRML animation?
How would I go about grabbing the live augmented video for something like Processing to add some further effects to in realtime?

Any information is greatly welcomed!
Thanks

philip_lamb
September 24th, 2005, 08:06 AM
Yes.. the ARToolKit includes a simpleVRML example, which shows how to place VRML objects on markers.

If you are using ARTK on Windows, there is a separate download from the ARToolKit sourceforge home page, package openvrml-0.14.3-win32. If you are on Linux, use the debian or RPM OpenVRML package from your package manager. If you are on Mac OS X, install OpenVRML using Fink.

As for processing the video stream.. each frame returned by ARToolKit is just a pixel buffer, designed to be passed on to OpenGL. So you can do whatever you like to it. Typically, you'd do these processing effects in the Display() function (see the simpleLite example to see a Display() function).

Cheers