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

OpenGLを使用する。[書籍]

Amazon.co.jp: iPhone 3Dプログラミング ―OpenGL ESによるアプリケーション開発: Philip Rideout, 安藤 幸央, 阿部 和也, 武舎 広幸: 本

OpenGLを使用する。[iOS準備編]

GLViewを作成するテンプレート。 //ヘッダ #import <UIKit/UIKit.h> #import <OpenGLES/EAGL.h> #import <QuartzCore/QuartzCore.h> #import <OpenGLES/ES1/gl.h> #import <OpenGLES/ES1/glext.h> @interface GLView : UIView { EAGLContext* m_context; } - (void) drawView; @end //ソース @implementation GLView - (id)initWithFrame:(CGR…</opengles/es1/glext.h></opengles/es1/gl.h></quartzcore/quartzcore.h></opengles/eagl.h></uikit/uikit.h>

OpenGLを使用する。[iOS準備編]

使用するフレームワークは、 OpenGLES.Framework QuartzCore.Framework の2点。