bdahmet - 05 June 2009 04:42 PM
Ok worked great, I actually even set the exposure and gain settings in VS2008 for the PS3 camera. It works lika a charm…
BTW. for non programmers like me: To revert to a previous version you hav to choose that option in tortoise svn (thats what I use)…
Hi bdahmet,
I have the same problem you had, and tried to do the same, but I don’t know how to change the exposure and gain settings in VS2008 for the PS3 camera.
Here is what I’ve done for the people that have the same problem:
1) Get a copy of VS2008
2) Get a copy of Tortoise SVN
3) Create a folder
-right click on that folder
-click on SVN Checkout
-copy the URL of the repository http://nuicode.svnrepository.com/svn/tbeta/trunk/tbeta/Windows/ (http://nuicode.com/projects/tbeta for other OS)
-In the revision section put 176
-This will download the SVN version of the CCV
4) Then install the Service Pack 1 for VS2008 from http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en
5) Then follow these compiling instructions http://nuicode.com/projects/tbeta/wiki/Compiling_instructions (The step 3 is in the folder you just created)
At this point I had a problem, the code Build without problems, but when I click “Release/Debug” to Run it give me an error “No Debugging Information: Debugging information for ‘Comunity Core Vision.exe’ cannot be found or does not match. Binary was not built with debug information. Do you want to continue debugging?” (Picture 1)
To solve that error follow these instructions http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/503d3ded-976e-460e-b5f9-7e03454ed387 (thanks casperghost!)
Then is posible for you to have this error: “Unhandled exception at 0x0041f0d0 in Community Core Vision.exe: 0xC0000005: Access violation reading location 0x00000c60.” (picture 2)
To solve that error just point your debugging “Working Directory” to the “Bin” folder. (thanks again casperghost and cerupcat)
Debugging your CCV should run fine at this point!!!
But I still can’t change the gain and exposure of the PS3
It seem it will modifying this code from ofxPS3.cpp, but it doesn’t work for me:
// Start capturing
pCam->StartCapture();
pCam->AutoAGC(false);
pCam->AutoAEC(false);
//pCam->SetExposure(20);
//pCam->SetGain(4);
I uncomment the 2 last lines but it doesn’t work.
Any help would be appreciated!!
Core2Duo T7250 @ 2.0 GHz
2 GB RAM
Windows Vista Home Basic 32 Bits SP1
CCV 1.2
PS3Eye Camera v2.1.0.0130

Click thumbnail to see full-size image