Skip to content

Commit

Permalink
almost exact replica for 007, just fixing the sphere
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemcdonald committed Mar 21, 2011
1 parent 675f5d0 commit 5650b8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions VisualizationApp/src/scans/threadedImageConvertor.cpp
Expand Up @@ -8,7 +8,6 @@
*/

#include "threadedImageConvertor.h"
#include "ofxFileHelper.h"

//--------------------------------------------------------------
threadedImageConvertor::threadedImageConvertor() {
Expand Down Expand Up @@ -66,7 +65,7 @@ bool threadedImageConvertor::loadScans(string pathName) {
if( bDelete ){
for (int i = 0; i < howMany; i++){
printf( "deleting %s \n", directory.getPath(i).c_str() );
ofxFileHelper::deleteFile(directory.getPath(i) );
ofFileUtils::deleteFile(directory.getPath(i) );
}
bDelete = false;
}
Expand Down
5 changes: 2 additions & 3 deletions VisualizationApp/src/testApp.cpp
Expand Up @@ -771,7 +771,6 @@ void testApp::standardDraw() {

//DO NOT F-ING DELETE THIS MOFOS :)
ofEnableAlphaBlending();
ofBackground(0, 0, 0);

chroma.begin();
float fov = panel.getValueF("fov");
Expand Down Expand Up @@ -826,7 +825,7 @@ void testApp::standardDraw() {

dofShader.end();

float sphereSize = 10000;
float sphereSize = 100;
sphereShader.begin();

sphereShader.setUniform1f("alpha", panel.getValueF("sphere_alpha"));
Expand All @@ -836,7 +835,7 @@ void testApp::standardDraw() {


glColor4f(1, 1, 1, panel.getValueF("sphere_alpha"));
ofNoFill();
ofFill();
ofSphere(sphereSize);
sphereShader.end();

Expand Down
2 changes: 2 additions & 0 deletions VisualizationApp/src/testApp.h
Expand Up @@ -12,6 +12,8 @@
#include "ConnexionCamera.h"
#include "particleSystem.h"

#include <GLUT/GLUT.h>

#include "scanNotifier.h"

typedef enum{
Expand Down

0 comments on commit 5650b8f

Please sign in to comment.