Research Log of Web Science Students

Computer Science is not simply programming

Momentary Video Capture Blinking *minor* Bug and D3D error

leave a comment »

After the CS199 meeting, I managed to work on the JMF’s frame rate which resulted to better output. I tinkered a little bit on the Java3D util files on NyARToolkit because I’m trying to optimize its frame rate and how it projects “inside” the video captured. I unfortunately did not save a copy of my working file so when I got home, my program’s video capture kept blinking (much like double buffering or continuous refreshing). Since it kept getting the same blinking bug on Bootcamp, I restarted to MacOS and used VMWare. When I ran the code, JMF’s capture device did not start and the program ended with the following errors:

DefaultRenderingErrorListener.errorOccurred:

CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context

graphicsDevice = Win32GraphicsDevice[screen=0] canvas = javax.media.j3d.Canvas3D[canvas0,0,0,640×480]

[Java3D]: Using D3DDEVTYPE_REF mode.

[Java3D] Warning : Fail to create hardware D3D Device, switch to use reference rasterizer. – D3DERR_DEVICELOST

There aren’t a lot of information about this error when I googled it. However, I managed to solve it when one reply to a thread suggested that upgrading my Video Card Drivers will make it work. Since I’m using VMWare, I can definitely omit the idea that the problem lies with the hardware drivers. So I reinstalled DirectX since this was where the original problem occurred. Then, it worked! Finally.

Advertisements

Written by rururu

November 23, 2009 at 4:30 pm

Posted in Augmented Reality

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: