Hi All,
I am currently working on the merged ARToolKit 2.65 (Linux to Windows)
but there are some really bad issues with OpenVRML or integration of
OpenVRML
In detail: If I attach a glutWiredCube() inside of simpeVRML-example I
get some really odd floating of the Cube on the Marker. This is the same
when I use "standard"-VRML-file like the snowman. The floating seems to
be stopped after some frames. The simple-example is working fine.
There are two possibilities: merging is not complete or the integration
of OpenVRML is broken. I will look into this.
For all the people, needing some better "grabbing" :) on Windows I
uploaded some stuff to my website:
Some pitfalls
1) this is ugly early alpha stuff - it will crash ;)
2) currently only first capture device is initialized
3) I changed some of the parameters (take a look into the headers)
4) you have to change some code concerning ARFrameGrabber::Init()
5) you have to change initialization (first Grabber, second glut)
6) this will not work with DV-Cameras, cause IDSampleGrabber does not
support it - you need a totally different filter graph.
snippet from a changed simpleVRML.cpp:
int main()
{
CoInitialize(NULL);
camera.SetFlippedImageHorizontal(false);
camera.SetFlippedImageVertical(true);
// first start the video capture
camera.Init(0);
//initialize applications
init();
....
}
static void init( void )
{
int i;
ARParam wparam;
// we can read the Width and Height from the camera
// this can be changed by using the CapturePin
//
xsize = camera.GetWidth();
ysize = camera.GetHeight();
....
after reading this take your download from:
http://www.technotecture.com/cgi-bin/sitexplorer.cgi?/download/arframegrabber/
btw.: there is also a VFW-Framegrabber - this was just a test if it is
working :)
HTH,
Hartmut
--
hartmut seichter
______________________________________________________
www.technotecture.com
|