¡@

Home 

2014/10/15 ¤U¤È 10:13:24

iphone Programming Glossary: resulttexture

Can example “GLImageProcessing” work with multi filters

http://stackoverflow.com/questions/4375479/can-example-glimageprocessing-work-with-multi-filters

GLint SystemFBO Create the texture and the FBO the will hold the result of applying the first filter glGenTextures 1 ResultTexture glBindTexture GL_TEXTURE_2D ResultTexture glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glTexParameteri.. FBO the will hold the result of applying the first filter glGenTextures 1 ResultTexture glBindTexture GL_TEXTURE_2D ResultTexture glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_NEAREST.. GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D ResultTexture 0 bind the result FBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO apply 1st filter ... restore original frame buffer..

GLImageProcessing Multiple Filters?

http://stackoverflow.com/questions/6425861/glimageprocessing-multiple-filters

am doing now in drawGL of Imaging.c Any help void drawGL int wide int high float val int mode GLuint ResultFBO GLuint ResultTexture static int prevmode 1 typedef void procfunc V2fT2f float typedef struct procfunc func procfunc degen Filter const Filter.. GLint SystemFBO Create the texture and the FBO the will hold the result of applying the first filter glGenTextures 1 ResultTexture glBindTexture GL_TEXTURE_2D ResultTexture glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glTexParameteri.. FBO the will hold the result of applying the first filter glGenTextures 1 ResultTexture glBindTexture GL_TEXTURE_2D ResultTexture glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_NEAREST..