2008-01-17から1日間の記事一覧

SDLとGLUT

ここによると、 http://docs.mandragor.org/files/Common_libs_documentation/SDL/SDL_Documentation_project_en/guidevideoopengl.html Apart from initialisation, using OpenGL within SDL is the same as using OpenGL with any other API, e.g. GLUT. …

変換

なんかz軸方向に回った。めも アフィン変換(平行移動、回転、拡大縮小など)は行列の知識なしで実行できるようになっている glTranslateで平行移動 glRotateで回転 glScaleで拡大縮小 ここまでわかればそれっぽいパーティクルとか作れそう。次やってみよう…