Skip to content

Commit

Permalink
final version
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Woods authored and Elliot Woods committed Jun 24, 2012
1 parent 488c651 commit 044ba50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 6_triangulate/src/testApp.cpp
Expand Up @@ -122,7 +122,7 @@ void testApp::seperate(){
ofVec3f xyz = mesh.getVertex(iPoint++) * transform;
float z = xyz.z;

float findex = ofMap(z, -0.03, -0.2, 0, 2) + 0.5f;
float findex = ofMap(z, -0.03, -0.23, 0, 2) + 0.5f;
unsigned int index = findex;

if (index < 3)
Expand Down
4 changes: 2 additions & 2 deletions 7_final/src/testApp.cpp
Expand Up @@ -8,6 +8,7 @@ void setDeviceProps(ofVideoGrabber & cam) {
int ID = 0;

device.setVideoSettingFilter(ID, device.propSharpness, 0);
device.setVideoSettingCamera(ID, device.propFocus, 0);

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand All @@ -18,7 +19,6 @@ void setDeviceProps(ofVideoGrabber & cam) {
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
device.setVideoSettingCamera(ID, device.propFocus, 0);
device.setVideoSettingCamera(ID, device.propExposure, -4);
device.setVideoSettingCamera(ID, device.propGain, 10);

Expand Down Expand Up @@ -133,7 +133,7 @@ void testApp::seperate(){
ofVec3f xyz = mesh.getVertex(iPoint++) * transform;
float z = xyz.z;

float findex = ofMap(z, -0.03, -0.2, 0, 2) + 0.5f;
float findex = ofMap(z, -0.03, -0.25, 0, 2) + 0.5f;
unsigned int index = findex;

if (index < 3)
Expand Down

0 comments on commit 044ba50

Please sign in to comment.