1. Real Time
Image Processing
with OpenGL ES 2.0
13年3月24日日曜日
2. カメラ
OpenGL ES テクスチャ
Custom Fragment Shader
CAEAGLLayer
UIView
13年3月24日日曜日
3. カメラ
OpenGL ES テクスチャ
Custom Fragment Shader ・爆速(GPU)
・多彩な表現
CAEAGLLayer ・無限の自由度
UIView
13年3月24日日曜日
4. Fragment Shaderって何だよ(怒
よくある画像処理プログラミング
const int wide = 100;
const int high = 100;
unsigned char pixels[wide * high * 4] = {0};
for(int y = 0 ; y < high ; ++y)
{
for(int x = 0 ; x < wide ; ++x)
{
unsigned char *color = pixels + 4 * (y * wide + x);
color[0] = 32;
color[1] = 12;
color[2] = 0;
color[3] = 120;
}
}
13年3月24日日曜日
5. Fragment Shaderって何だよ(怒
const int wide = 100;
const int high = 100;
unsigned char pixels[wide * high * 4] = {0};
for(int y = 0 ; y < high ; ++y)
{
for(int x = 0 ; x < wide ; ++x)
{
Fragment Shader!
}
}
13年3月24日日曜日