Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
danzeeeman committed Sep 30, 2016
1 parent 45bb206 commit abec14f
Show file tree
Hide file tree
Showing 6 changed files with 290 additions and 379 deletions.
632 changes: 267 additions & 365 deletions openframeworks/FaceOSCReceiver/FaceOSCReceiver.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion openframeworks/FaceOSCReceiver/Project.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@ OF_PATH = ../../..
//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE
#include "../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig"

OTHER_LDFLAGS = $(OF_CORE_LIBS)
//ICONS - NEW IN 0072
ICON_NAME_DEBUG = icon-debug.icns
ICON_NAME_RELEASE = icon.icns
ICON_FILE_PATH = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/

//IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to:
//ICON_FILE_PATH = bin/data/

OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OF_CORE_FRAMEWORKS)
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
6 changes: 4 additions & 2 deletions openframeworks/FaceOSCReceiver/openFrameworks-Info.plist
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.openFrameworks</string>
<string>cc.openFrameworks.ofapp</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand All @@ -16,5 +16,7 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleIconFile</key>
<string>${ICON}</string>
</dict>
</plist>
5 changes: 2 additions & 3 deletions openframeworks/FaceOSCReceiver/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#include "ofMain.h"
#include "testApp.h"
#include "ofAppGlutWindow.h"

//========================================================================
int main( ){

ofAppGlutWindow window;
ofSetupOpenGL(&window, 640, 480, OF_WINDOW); // <-------- setup the GL context

ofSetupOpenGL(640, 480, OF_WINDOW); // <-------- setup the GL context

// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
Expand Down
14 changes: 7 additions & 7 deletions openframeworks/FaceOSCReceiver/src/testApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ void testApp::draw() {

ofSetColor(0);
ofNoFill();
ofEllipse(-20, face.eyeLeft * -9, 20, 7);
ofEllipse(20, face.eyeRight * -9, 20, 7);
ofEllipse(0, 20, face.mouthWidth * 3, face.mouthHeight * 3);
ofEllipse(-5, face.nostrils * -1, 7, 3);
ofEllipse(5, face.nostrils * -1, 7, 3);
ofDrawEllipse(-20, face.eyeLeft * -9, 20, 7);
ofDrawEllipse(20, face.eyeRight * -9, 20, 7);
ofDrawEllipse(0, 20, face.mouthWidth * 3, face.mouthHeight * 3);
ofDrawEllipse(-5, face.nostrils * -1, 7, 3);
ofDrawEllipse(5, face.nostrils * -1, 7, 3);

ofSetRectMode(OF_RECTMODE_CENTER);
ofFill();
ofRect(-20, face.eyebrowLeft * -5, 25, 5);
ofRect(20, face.eyebrowRight * -5, 25, 5);
ofDrawRectangle(-20, face.eyebrowLeft * -5, 25, 5);
ofDrawRectangle(20, face.eyebrowRight * -5, 25, 5);
ofSetRectMode(OF_RECTMODE_CORNER);
ofPopMatrix();
}
Expand Down

0 comments on commit abec14f

Please sign in to comment.