Fixed this one by checking if buffer is null or not... my webcam which i use
for testing needs a little bit longer for initialization.

 

But when calling arDetectMarker, i need to pass the image data so that
ARToolkit can process ist.

For that image->editData() is used,

So the call arDetectMarker(image->editData(), thresh, &markers,
&numberOfMarkers) is always crashing.

(editData is used because arDetectMarker doesn't take a const UInt8*).

this is always crashing.

I suspect some multithreading issues, could someone help me on that please ?

 

Cheers,

Georg

 

Von: Georg Stevenson [mailto:georg.steven...@gmail.com] 
Gesendet: Sonntag, 09. Mai 2010 18:36
An: 'Georg Stevenson'
Betreff: AW: [Opensg-users] ARToolkit Example from OpenSG 1.8 with W7 and
VS2k8

 

Thanks for your tips again, 

With DX9 SDK it compiles just fine, and the #include WIN32 error was a
mistake in my project configuration.

 

So now for the next part -> using it with OpenSG 2.0 J

 

Already converted it, but when calling grabImage , dfg->getFrame() just
returns a bad buffer.

Might that be a problem because of Win7 (and none existing DX 9 ?).

 

Cheers,

Georg

------------------------------------------------------------------------------

_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to