removed the ofxArcBall.h and related calls as it was producing runtime locking errors

This commit is contained in:
Jamie Allen 2012-05-27 22:42:20 +02:00
parent 80847c5439
commit 7e422dca80
11 changed files with 86 additions and 125 deletions

View File

@ -1,115 +1,76 @@
<!-- THIS FILE NEEDS TO GO IN THE APPLICATION /data/ folder --> <!-- THIS FILE NEEDS TO GO IN THE APPLICATION /data/ folder -->
<config> <config>
<mode>analysing</mode> <mode>analysis</mode>
<camera>
<id>1</id>
<width>640</width>
<height>480</height>
</camera>
<display>
<fps>30</fps>
</display>
<locale>
<name>FUTURE</name>
</locale>
<analysis_NUM_RUN> <camera>
<NUM_RUN_shadowscapes> 1 </NUM_RUN_shadowscapes> <id>1</id>
<NUM_RUN_relaxrate> 1 </NUM_RUN_relaxrate> <width>640</width>
<NUM_RUN_iresponse> 1 </NUM_RUN_iresponse> <height>480</height>
<NUM_RUN_shapefromshading> 1 </NUM_RUN_shapefromshading> </camera>
<NUM_RUN_strobe> 1 </NUM_RUN_strobe>
<NUM_RUN_camnoise> 1 </NUM_RUN_camnoise>
<NUM_RUN_colorsingle> 1 </NUM_RUN_colorsingle>
<NUM_RUN_colormulti> 1 </NUM_RUN_colormulti>
<NUM_RUN_diffnoise> 1 </NUM_RUN_diffnoise>
</analysis_NUM_RUN>
<analysis_time> <display>
<acquiretime_shadowscapes> 5 </acquiretime_shadowscapes> <fps>30</fps>
<acquiretime_relaxrate> 5 </acquiretime_relaxrate> </display>
<acquiretime_iresponse> 5 </acquiretime_iresponse>
<acquiretime_shapefromshading> 5 </acquiretime_shapefromshading>
<acquiretime_strobe> 5 </acquiretime_strobe>
<acquiretime_camnoise> 5 </acquiretime_camnoise>
<acquiretime_colorsingle> 5 </acquiretime_colorsingle>
<acquiretime_colormulti> 5 </acquiretime_colormulti>
<acquiretime_diffnoise> 5 </acquiretime_diffnoise>
</analysis_time>
<viewport> <locale>
<tx>0</tx> <name>FUTURE</name>
<ty>-20</ty> </locale>
<tz>-400</tz>
<rx>-10</rx>
<ry>0</ry>
<rz>0</rz>
</viewport>
<algorithms> <analysis_NUM_RUN>
<vertices_per_frame>1000</vertices_per_frame> <NUM_RUN_shadowscapes> 1 </NUM_RUN_shadowscapes>
<pixel_per_vertex>4</pixel_per_vertex> <NUM_RUN_relaxrate> 1 </NUM_RUN_relaxrate>
<colormulti> <NUM_RUN_iresponse> 1 </NUM_RUN_iresponse>
<algo>2</algo> <NUM_RUN_shapefromshading> 1 </NUM_RUN_shapefromshading>
<scale>1</scale> <NUM_RUN_strobe> 1 </NUM_RUN_strobe>
<draw_style>2</draw_style> <NUM_RUN_camnoise> 1 </NUM_RUN_camnoise>
<line_width>0.5</line_width> <NUM_RUN_colorsingle> 1 </NUM_RUN_colorsingle>
</colormulti> <NUM_RUN_colormulti> 1 </NUM_RUN_colormulti>
<colorsingle> <NUM_RUN_diffnoise> 1 </NUM_RUN_diffnoise>
<algo>2</algo> </analysis_NUM_RUN>
<scale>1</scale>
<draw_style>2</draw_style> <analysis_time>
<line_width>0.5</line_width> <acquiretime_shadowscapes> 7 </acquiretime_shadowscapes>
</colorsingle> <acquiretime_relaxrate> 10 </acquiretime_relaxrate>
<relaxrate> <acquiretime_iresponse> 30 </acquiretime_iresponse>
<algo>1</algo> <acquiretime_shapefromshading> 30 </acquiretime_shapefromshading>
<scale>500</scale> <acquiretime_strobe> 30 </acquiretime_strobe>
<draw_style>1</draw_style> <acquiretime_camnoise> 30 </acquiretime_camnoise>
<line_width>2</line_width> <acquiretime_colorsingle> 40 </acquiretime_colorsingle>
<point_size>2</point_size> <acquiretime_colormulti> 15 </acquiretime_colormulti>
</relaxrate> <acquiretime_diffnoise> 30 </acquiretime_diffnoise>
<diffnoise> </analysis_time>
<algo>1</algo>
<scale>500</scale> <algorithms>
<draw_style>1</draw_style> <vertices_per_frame>1000</vertices_per_frame>
<line_width>2</line_width> <pixel_per_vertex>4</pixel_per_vertex>
<point_size>2</point_size>
</diffnoise> <colormulti>
<shapeshade> <algo>2</algo>
<algo>1</algo> <scale>2</scale>
<scale>500</scale> <draw_style>3</draw_style>
<draw_style>1</draw_style> <line_width>2</line_width>
<line_width>2</line_width> </colormulti>
<point_size>2</point_size>
</shapeshade> <relaxrate>
<strobe> <algo>4</algo>
<algo>1</algo> <scale>600</scale>
<scale>500</scale> <draw_style>2</draw_style>
<draw_style>1</draw_style> <line_width>4</line_width>
<line_width>2</line_width> </relaxrate>
<point_size>2</point_size>
</strobe> <shadowscapes>
<camnoise> <algo>1</algo>
<algo>1</algo> <scale>650</scale>
<scale>500</scale> <draw_style>1</draw_style>
<draw_style>1</draw_style> <line_width>1</line_width>
<line_width>2</line_width> </shadowscapes>
<point_size>2</point_size>
</camnoise> </algorithms>
<shadowscapes>
<algo>4</algo> <relaxrate>
<scale>500</scale> <treshold>51</treshold>
<draw_style>2</draw_style> <maxblobs>25</maxblobs>
<line_width>2</line_width> </relaxrate>
</shadowscapes>
<iresponse>
<algo>1</algo>
<scale>500</scale>
<draw_style>1</draw_style>
<line_width>2</line_width>
<point_size>2</point_size>
</iresponse>
</algorithms>
</config> </config>

View File

@ -64,7 +64,7 @@ ofxXmlSettings RefractiveIndex::XML;
ofShader RefractiveIndex::_shader; ofShader RefractiveIndex::_shader;
ofVboMesh RefractiveIndex::_mesh_vbo; ofVboMesh RefractiveIndex::_mesh_vbo;
ofxArcBall RefractiveIndex::cam; //ofxArcBall RefractiveIndex::cam;
string msg; string msg;

View File

@ -322,7 +322,7 @@ void CamNoiseAnalysis::draw()
glPointSize(point_size); glPointSize(point_size);
glEnable(GL_POINT_SMOOTH); glEnable(GL_POINT_SMOOTH);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -355,7 +355,7 @@ void CamNoiseAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
break; break;

View File

@ -309,7 +309,7 @@ void ColorMultiAnalysis::draw()
glShadeModel(GL_SMOOTH); glShadeModel(GL_SMOOTH);
glLineWidth(line_width); glLineWidth(line_width);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -342,7 +342,7 @@ void ColorMultiAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
_RUN_DONE = true; _RUN_DONE = true;
break; break;

View File

@ -325,7 +325,7 @@ void ColorSingleAnalysis::draw()
glShadeModel(GL_SMOOTH); glShadeModel(GL_SMOOTH);
glLineWidth(line_width); glLineWidth(line_width);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -358,7 +358,7 @@ void ColorSingleAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
_RUN_DONE = true; _RUN_DONE = true;
break; break;

View File

@ -333,7 +333,7 @@ void DiffNoiseAnalysis::draw()
glPointSize(point_size); glPointSize(point_size);
glEnable(GL_POINT_SMOOTH); glEnable(GL_POINT_SMOOTH);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -366,7 +366,7 @@ void DiffNoiseAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
break; break;

View File

@ -298,7 +298,7 @@ void IResponseAnalysis::draw()
glPointSize(point_size); glPointSize(point_size);
glEnable(GL_POINT_SMOOTH); glEnable(GL_POINT_SMOOTH);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -331,7 +331,7 @@ void IResponseAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
break; break;

View File

@ -295,7 +295,7 @@ void RelaxRateAnalysis::draw()
glPointSize(point_size); glPointSize(point_size);
glEnable(GL_POINT_SMOOTH); glEnable(GL_POINT_SMOOTH);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -328,7 +328,7 @@ void RelaxRateAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
break; break;

View File

@ -338,7 +338,7 @@ void ShadowScapesAnalysis::draw()
glShadeModel(GL_SMOOTH); glShadeModel(GL_SMOOTH);
glLineWidth(line_width); glLineWidth(line_width);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -371,7 +371,7 @@ void ShadowScapesAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
_RUN_DONE = true; _RUN_DONE = true;
break; break;

View File

@ -491,7 +491,7 @@ void ShapeFromShadingAnalysis::draw()
glPointSize(point_size); glPointSize(point_size);
glEnable(GL_POINT_SMOOTH); glEnable(GL_POINT_SMOOTH);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -524,7 +524,7 @@ void ShapeFromShadingAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
break; break;

View File

@ -320,7 +320,7 @@ void StrobeAnalysis::draw()
glPointSize(point_size); glPointSize(point_size);
glEnable(GL_POINT_SMOOTH); glEnable(GL_POINT_SMOOTH);
RefractiveIndex::cam.begin(); //RefractiveIndex::cam.begin();
ofTranslate(tx, ty, tz); ofTranslate(tx, ty, tz);
ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz); ofRotateX(rx); ofRotateY(ry); ofRotateZ(rz);
@ -353,7 +353,7 @@ void StrobeAnalysis::draw()
image2.unbind(); image2.unbind();
RefractiveIndex::cam.end(); //RefractiveIndex::cam.end();
break; break;