Hi,
I am modifying CLEyeMulticamTest.cpp to use three cameras and set the rotaion to
zero intitally.
I have this method in CLEyeCameraCapture
void SetCameraParameter_zero(int param)
{
if(!_cam) return;
CLEyeSetCameraParameter(_cam, (CLEyeCameraParameter)param, CLEyeGetCameraParameter(_cam, (CLEyeCameraParameter)param)-CLEyeGetCameraParameter(_cam, (CLEyeCameraParameter)param));
}
If I do the following only camera one is set to rotation 0
//Make camera orient in the right way
for(int j=0;j<3;j++)
{
cam[j]->SetCameraParameter_zero(CLEYE_ROTATION);
printf("j=%d\n",j);
}
but if I use the same method in the switch and one by one set each
camera to 0 by keyboard input it works.
Any clues?
thanks, joby