ARToolKit | Mailing List Archive |
![]() |
From: | Brendan <brendan@c ............> | Received: | May 23, 2001 |
To | artoolkit@h .................. | ||
Subject: | [ARToolkit] pc calibration | ||
I'm gettin errors when I run the see-through HMD calibration routines on the PC version 2.11. after "right clicking" as per the docs, the argCalibMainFunc(void) runs (from gsub.c), but the arVideoGetImage function call is commented out, so the dataPtr is null when sent into the following functions. In fact, the arVideoGetImage() in gsub.c isn't implemented at all, and just returns NULL, even if it was called. am I misunderstanding someting? or do i need to do some cutting and pasting to get this stuff running correctly? thanks! brendan Brendan Hannigan | brendan@c ............ | http://www.hannigan.org -------------------------------------------------------------------------- |
From: | Hirokazu Kato <kato@s ........................> | Received: | May 29, 2001 |
To | Brendan <brendan@c ............> | ||
Subject: | Re: [ARToolkit] pc calibration | ||
Hi Brendan, >I'm gettin errors when I run the see-through HMD calibration routines on >the PC version 2.11. after "right clicking" as per the docs, the >argCalibMainFunc(void) runs (from gsub.c), but the arVideoGetImage >function call is commented out, so the dataPtr is null when sent into the >following functions. Is your code in argCalibMainFunc(void) different from following code? Actually arVideoGetImage() is not commented out. If your code really don't have this part in argCalibMainFunc(void), It would be wrong one. Please download it again. #ifdef __sgi if( (dataPtr = (ARUint8 *)arVideoGetImage(did)) == NULL ) { sginap(1); return; } #else if( (dataPtr = (ARUint8 *)arVideoGetImage()) == NULL ) { return; } #endif -- ------------------------------------------------------------------ Hirokazu Kato Faculty of Information Sciences Hiroshima City University Phone: 082-830-1705 Email: kato@s ........................ Fax: 082-830-1435 URL: http://www.sys.im.hiroshima-cu.ac.jp/people/kato/ |