2014-01-01から1年間の記事一覧

CCSS2014のメモ

CCSS2014 in 札幌 に参加してきたメモ 8/30(金) 第3回 Max/MSPでVJパフォーマンス 聴覚はより感覚的印象を喚起させ視覚はそれを補完する機能である 拍子 ビートの解析リズムの微分化 ビート(音楽)=スピード(映像)=フレーム(映像) 映像の単位 FPS VJ的音楽解…

ofxkinect Exampleメモ(3)

//--------------------------------------------------------------void testApp::draw() { ofSetColor(255, 255, 255); if(bDrawPointCloud) { easyCam.begin(); //※ drawPointCloud(); easyCam.end(); } else { // draw from the live kinect //イブのオ…

ofxkinect Exampleメモ(2)

//--------------------------------------------------------------void testApp::update() { ofBackground(100, 100, 100); //kinectからの画像を更新 kinect.update(); // there is a new frame and we are connected //そこに新しいフレームがあり、我々…

ofxkinect Exampleメモ(1)

void testApp::setup() { ofSetLogLevel(OF_LOG_VERBOSE); // enable depth->video image calibration kinect.setRegistration(true); //kinect初期化 kinect.init(); //kinect.init(true); // shows infrared instead of RGB video image //代わりにRGB映像…

Auto-Renewable Subscriptionsメモ

iOS 自動継続課金について iOS7についてのレシート情報の調べ方はWebにいろいろ載ってたけど iOS6がいまいち載ってなかったので iOS6でのレシート情報の調べ方 if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) { // iOS 6.1 or…

soundPlayFFTExampleメモ

the fft needs to be smoothed out, so we create an array of floats FFTは、平滑化される必要があるので、floatの配列を作成します update()メソッド update the sound playing system: サウンドの再生システムを更新します。 (1) we increase px and py b…

multiTextureShaderExampleメモ

シェーダにテクスチャを渡す // There are 3 of ways of loading a shader://// 1 - Using just the name of the shader and ledding ofShader look for .frag and .vert: 1 - ちょうどシェーダの名前とフラグメントおよびVERT探しofShader leddingを使用す…

oFのstring系処理のメモ(1)

例)sortingExampleの中 //ofBufferは読み取りとファイルへの書き込みのための簡単な方法を //提供する便利なクラスです。 これは、標準C++のostreamとistreamの //クラスを多用するだけでなく、同じように、 //文字列にファイルデータを変換する簡単な方法で…

shaderExample(oF)メモ

//shaderスクリプトを読み込む//第一引数vertex sahder, 第二引数fragment shadershader.load("shaders_gles/noise.vert","shaders_gles/noise.frag"); //GL3を使えるかどうかの判定ぽいofGetGLProgrammableRenderer() //シェーダーでプログラムからデータを…

ofEasyCamメモ

//3次元の描画を簡単にすることを強く意識したライブラリです//視点設定も簡単にできるようなクラスが用意されていますofEasy cam;//draw()の中//カメラ機能の開始cam.begin();//~ここの範囲がマウスドラッグで視点変更可能~//カメラ機能の終了cam.end(); /…

ofLightメモ

http://www.openframeworks.cc/documentation/gl/ofLight.html setup()の中 ofSetSmoothLighting(true); //スムース(なめらか)処理する //Float値でカラー設定(浮動小数点数で動作するようにしたい場合)r g b pointLight.setDiffuseColor( ofFloatColor(.85,…

ofPlanePrimitiveメモ

前回の続きで3DPrimitivesExsampleについて まず、ofPlanePrimitiveの場合 //初期に幅、高さなどをセット plane.set(float width, float height, int columns, int rows); //draw()にて //3次元位置を決めたり plane.setPosition(float px, float py, float …

of3dPrimitiveメモ

簡単に3Dオブジェクトを描画できる ofNode→of3dPrimitiveを継承したクラスが 6個ある ofSpherePrimitive //頂点が4点(四角形)で構成された球? ofIcoSpherePrimitive //頂点が3点(三角形)で構成された球? ofPlanePrimitive //平面板 ofCylinderPrimitive //円…

ofMeshメモ

ofMesh メッシュには多くの情報が含まれている 3D空間での頂点の集合 おのおのの点での法線は点の色 素材感、点の座標値 これらの異なる特性を それぞれのベクターに格納されている void ofMesh::setMode(ofPrimitiveMode mode)について ofPrimitiveModeを引…

テスト投稿

2014年からいろいろメモしてく予定 twitter https://twitter.com/y_okasuke http://twitpic.com/photos/y_okasuke wonderfl http://wonderfl.net/user/OKASUKE/codes 旧メモブログ http://blog.livedoor.jp/okasuke_y/ Vimeo https://vimeo.com/user27712419