2013-03-01から1ヶ月間の記事一覧

Cinder一巡り #3

画像処理の基礎 class BasicImageProcApp : public AppBasic { public: gl::Texture texture; void prepareSettings( Settings* settings ); void setup(); void mouseDown( MouseEvent event ); void update(); void draw(); }; void BasicImageProcApp::se…

Cinder一巡り #2

グラフィック基礎 プロジェクトを作成するとhogeApp.cppのdrawメソッドには以下のコードが書かれています。 void BasicShapesApp::draw() { // clear out the window with black gl::clear( Color( 0, 0, 0 ) ); } gl:clear()は指定した色で画面をクリアしま…

Cinder一巡り #1

Cinderのセットアップ http://libcinder.org/ ダウンロードページからダウンロードするかGitを使う。 以下は、Gitでクローンしてビルドする方法です。 % git clone git@github.com:cinder/Cinder.git Boostをダウンロード 現時点でCinderのバージョンは0.8.4…