This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################################## | |
# CONFIGURE CORE PLATFORM MAKEFILE | |
# This file is where we make platform and architecture specific configurations. | |
# This file can be specified for a generic architecture or can be defined as variants. | |
# For instance, normally this file will be located in a platform specific subpath such | |
# as $(OF_ROOT)/libs/openFrameworksComplied/linux64. | |
# | |
# This file will then be a generic platform file like: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ofSoundPlayer dubstep; // From bensound.com | |
ofSoundPlayer ping; // From bensound.com | |
ofSoundPlayer pong; // From freesound.org. | |
ofSoundPlayer laser; // From freesound.org | |
void setup() { | |
dubstep.loadSound("bensound-dubstep.mp3"); | |
dubstep.setVolume(0.75f); | |
dubstep.play(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
#include "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//======================================================================== | |
int main( ){ | |
ofAppGlutWindow window; | |
ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
#include "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//======================================================================== | |
int main( ){ | |
ofAppGlutWindow window; | |
ofSetupOpenGL(&window, 320,240, OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
#include "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//======================================================================== | |
int main( ){ | |
ofAppGlutWindow window; | |
ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*============================================================================== | |
Copyright (c) 2011, 2012 Christopher Baker <http://christopherbaker.net> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so | |
libudev.so.0 => /lib/arm-linux-gnueabihf/libudev.so.0 | |
libGLESv2.so => /opt/vc/lib/libGLESv2.so | |
libEGL.so => /opt/vc/lib/libEGL.so | |
libopenmaxil.so => /opt/vc/lib/libopenmaxil.so | |
libbcm_host.so => /opt/vc/lib/libbcm_host.so | |
libvcos.so => /opt/vc/lib/libvcos.so | |
libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so | |
libfreeimage.so.3 => /usr/lib/libfreeimage.so.3 | |
libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@rpi ~/openFrameworks/apps/devApps/jvc_fboTest/bin $ ./jvc_fboTest | |
ofAppEGLWindow constructor | |
in ofAppEGLWINDOW: setupOpenGL | |
succes=0 | |
REQUESTED SCREEN SIZE w=1024 and h=768 | |
HARDWARE SCREEN SIZE IS sw=1920 and sh=1080 | |
CREATING A SCREEN THAT IS w=1024 and h=768 | |
[ofAppEGLWindow::setupEGL:notice] setting EGL Display | |
[ofAppEGLWindow::setupEGL:notice] setting default Display | |
[ofAppEGLWindow::setupEGL:notice] EGL Display correctly set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
#include "testApp.h" | |
//======================================================================== | |
int main( ){ | |
ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app | |
// can be OF_WINDOW or OF_FULLSCREEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
THIS PROGRAM WORKS WITH PulseSensorAmped_Arduino-xx ARDUINO CODE | |
*/ | |
import processing.serial.*; | |
Serial port; | |
int Sensor; // HOLDS PULSE SENSOR DATA FROM ARDUINO | |
int IBI; // HOLDS TIME BETWEN HEARTBEATS FROM ARDUINO |