iphone Programming Glossary: gltexparameteri
How do I create blurred text in an iPhone view? http://stackoverflow.com/questions/227305/how-do-i-create-blurred-text-in-an-iphone-view 1.0 5 1.0 5 1.0 5 1.0 validateTexEnv glDrawArrays GL_TRIANGLE_STRIP 0 4 Pass two accumulate two rotated linear samples glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glEnable GL_BLEND.. 0 4 Pass two accumulate two rotated linear samples glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glEnable GL_BLEND glBlendFunc GL_SRC_ALPHA GL_ONE for i 0 i 4 i tmpquad i.. Half.texID glDisable GL_TEXTURE_2D glTexEnvi GL_TEXTURE_ENV GL_OPERAND2_RGB GL_SRC_ALPHA glActiveTexture GL_TEXTURE0 glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glDisable..
Can example “GLImageProcessing” work with multi filters http://stackoverflow.com/questions/4375479/can-example-glimageprocessing-work-with-multi-filters 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 glTexParameteri.. 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 glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri.. GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glTexImage2D..
Rendering to non-power-of-two texture on iPhone http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone these devices you should then be able to use non power of two textures as long as you set the proper texture wrapping glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE Unfortunately.. as long as you set the proper texture wrapping glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE Unfortunately this example application that I have which renders to a non..
GLImageProcessing Multiple Filters? http://stackoverflow.com/questions/6425861/glimageprocessing-multiple-filters 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 glTexParameteri.. 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 glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri.. GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_NEAREST glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glTexImage2D..
iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio glClear GL_COLOR_BUFFER_BIT glGenTextures 1 videoFrameTexture_ glBindTexture GL_TEXTURE_2D videoFrameTexture_ glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glTexParameteri.. glBindTexture GL_TEXTURE_2D videoFrameTexture_ glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri.. GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameteri GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glTexImage2D..
Record the drawing as a m4v video file - OpenGL http://stackoverflow.com/questions/9661259/record-the-drawing-as-a-m4v-video-file-opengl GL_TEXTURE_2D brushTexture Set the texture parameters to use a minifying filter and a linear filer weighted average glTexParameteri GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR Specify a 2D texture image providing the a pointer to the image data in memory..
|