”@

Home 

2014/10/15 ¤U¤Č 10:08:29

iphone Programming Glossary: es

Want to display a 3D model on the iPhone: how to get started?

http://stackoverflow.com/questions/413919/want-to-display-a-3d-model-on-the-iphone-how-to-get-started

Studio on Windows. What I do not know Much about Objective C Anything about OpenGL or OpenGL ES which the iPhone apparently uses Anything about XCode My main problem is that I don't know where to..

Rendering to non-power-of-two texture on iPhone

http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone

to non power of two texture on iPhone Is it possible to render to texture with OpenGL ES 1.1 on the iPhone 2G and older If I bind a texture as a render buffer it has to be the size of the render.. as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture.. which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally..

CADisplayLink OpenGL rendering breaks UIScrollView behaviour

http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour

and halts scrolling with OpenGL rendering related CADisplayLink NSRunLoop Animation in OpenGL ES view freezes when UIScrollView is dragged on iPhone iphone opengl es share improve this question.. by the CADisplayLink are what's breaking UIScrollView's scrolling behavior here. Your OpenGL ES rendering might be taking long enough for each frame to throw off the timing of a UIScrollView when.. using NSRunLoopCommonModes for the CADisplayLink. One way around this is to perform your OpenGL ES rendering actions on a background thread by using a Grand Central Dispatch serial queue. I did this..

Learning OpenGL ES 1.x

http://stackoverflow.com/questions/72288/learning-opengl-es-1-x

OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about.. OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been a while since.. but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming Guide but I am concerned that it might not be the best approach because it focuses on..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only.. and found some approach like using Pixel Buffer Object and glMapBuffer but it seems that OpenGL ES 2.0 does not support them. iphone ios opengl es opengl es 2.0 share improve this question As of.. share improve this question As of iOS 5.0 there is now a faster way to grab data from OpenGL ES. It isn't readily apparent but it turns out that the texture cache support added in iOS 5.0 doesn't..

OpenGL ES iPhone - drawing anti aliased lines

http://stackoverflow.com/questions/1813035/opengl-es-iphone-drawing-anti-aliased-lines

ES iPhone drawing anti aliased lines Normally you'd use something like glBlendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA glEnable GL_BLEND.. GL_VERTEX_ARRAY It looks good in the iPhone simulator but on the iPhone the lines get extremely thin and w o any anti aliasing. How do you get AA on iPhone iphone opengl es line antialiasing.. the lines get extremely thin and w o any anti aliasing. How do you get AA on iPhone iphone opengl es line antialiasing share improve this question One can achieve the effect of anti aliasing very cheaply..

Getting current device language in iOS?

http://stackoverflow.com/questions/3910244/getting-current-device-language-in-ios

in fully spelled out format. Not @ en_US iphone objective c ios nslocale share improve this question The solutions provided will actually return the current region of the device not the currently.. will actually return the current region of the device not the currently selected language. These are often one and the same. However if I am in North America and I set my language to Japanese my region.. These are often one and the same. However if I am in North America and I set my language to Japanese my region will still be English United States . In order to retrieve the currently selected language..

Want to display a 3D model on the iPhone: how to get started?

http://stackoverflow.com/questions/413919/want-to-display-a-3d-model-on-the-iphone-how-to-get-started

get started I want to display and rotate a single 3D model preferably textured on the iPhone. Doesn't have to zoom in and out or have a background or anything. I have the following an iPhone a MacBook.. not know Much about Objective C Anything about OpenGL or OpenGL ES which the iPhone apparently uses Anything about XCode My main problem is that I don't know where to start All the iPhone books I found.. GUI applications not OpenGL apps. I found an OpenGL book but I don't know how much if any applies to iPhone development. And I find the Objective C syntax somewhat confusing with the weird nested method..

Rendering to non-power-of-two texture on iPhone

http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone

buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve.. it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this.. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non power of..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically.. Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range.. on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like to map them from 0 1023 the size of my TextureAtlas..

CADisplayLink OpenGL rendering breaks UIScrollView behaviour

http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour

OpenGL rendering breaks UIScrollView behaviour There are a few similar questions out there on SO links at end but none of them has allowed me to fix my problem so here goes I'm.. questions out there on SO links at end but none of them has allowed me to fix my problem so here goes I'm using OpenGL rendering to make an image tiling and caching library for use in a game project and.. and I want to hijack the physics of the UIScrollView to allow the user to navigate around the images since it has nice bounce behaviour might as well use it . So I have a UIScrollView which I'm using to..

Learning OpenGL ES 1.x

http://stackoverflow.com/questions/72288/learning-opengl-es-1-x

OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely.. OpenGL which is not entirely true but it's been a while since I last used OpenGL . I am most interested in learning this for iPhone related development but I'm interested in learning how it works on other.. used OpenGL . I am most interested in learning this for iPhone related development but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering.. there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. Performance.. I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. Performance is important because I have to perform this operation repeatedly...

Want to display a 3D model on the iPhone: how to get started?

http://stackoverflow.com/questions/413919/want-to-display-a-3d-model-on-the-iphone-how-to-get-started

how it works and the XNA game development library using Visual Studio on Windows. What I do not know Much about Objective C Anything about OpenGL or OpenGL ES which the iPhone apparently uses Anything about XCode My main problem is that I don't know where to start All the iPhone books I found seem to be about creating..

Rendering to non-power-of-two texture on iPhone

http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone

to non power of two texture on iPhone Is it possible to render to texture with OpenGL ES 1.1 on the iPhone 2G and older If I bind a texture as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires.. OpenGL ES 1.1 on the iPhone 2G and older If I bind a texture as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not.. as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non power of two textures newer iOS device models have..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like to map them from 0 1023 the size of my TextureAtlas..

CADisplayLink OpenGL rendering breaks UIScrollView behaviour

http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour

advance Promised links to similar questions UIScrollView broken and halts scrolling with OpenGL rendering related CADisplayLink NSRunLoop Animation in OpenGL ES view freezes when UIScrollView is dragged on iPhone iphone opengl es share improve this question It's possible that slow updates on the main thread triggered.. It's possible that slow updates on the main thread triggered by the CADisplayLink are what's breaking UIScrollView's scrolling behavior here. Your OpenGL ES rendering might be taking long enough for each frame to throw off the timing of a UIScrollView when using NSRunLoopCommonModes for the CADisplayLink. One way around.. for each frame to throw off the timing of a UIScrollView when using NSRunLoopCommonModes for the CADisplayLink. One way around this is to perform your OpenGL ES rendering actions on a background thread by using a Grand Central Dispatch serial queue. I did this in my recent update to Molecules source code for which can be..

Learning OpenGL ES 1.x

http://stackoverflow.com/questions/72288/learning-opengl-es-1-x

OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been a while since.. OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been a while since I last used OpenGL . I am most interested in learning this for.. interested in learning this for iPhone related development but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming Guide but I am concerned that it might not be the best approach because it focuses on 2.0 rather than 1.x. My understanding is that 2.0 is not backwards..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame.. to perform this operation repeatedly. I have searched the web and found some approach like using Pixel Buffer Object and glMapBuffer but it seems that OpenGL ES 2.0 does not support them. iphone ios opengl es opengl es 2.0 share improve this question As of iOS 5.0 there is now a faster way to grab data from OpenGL.. does not support them. iphone ios opengl es opengl es 2.0 share improve this question As of iOS 5.0 there is now a faster way to grab data from OpenGL ES. It isn't readily apparent but it turns out that the texture cache support added in iOS 5.0 doesn't just work for fast upload of camera frames to OpenGL ES but..

OpenGL ES iPhone - drawing anti aliased lines

http://stackoverflow.com/questions/1813035/opengl-es-iphone-drawing-anti-aliased-lines

ES iPhone drawing anti aliased lines Normally you'd use something like glBlendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA glEnable GL_BLEND glEnable GL_LINE_SMOOTH glLineWidth 2.0f glVertexPointer 2.. GL_VERTEX_ARRAY glDrawArrays GL_LINE_STRIP 0 num_points glDisableClientState GL_VERTEX_ARRAY It looks good in the iPhone simulator but on the iPhone the lines get extremely thin and w o any anti aliasing. How do you get AA on iPhone iphone opengl es line antialiasing share improve this question One can achieve the.. It looks good in the iPhone simulator but on the iPhone the lines get extremely thin and w o any anti aliasing. How do you get AA on iPhone iphone opengl es line antialiasing share improve this question One can achieve the effect of anti aliasing very cheaply using vertices with opacity 0. Here's an image example..

Getting current device language in iOS?

http://stackoverflow.com/questions/3910244/getting-current-device-language-in-ios

UI is using. What code would I use I want this as an NSString in fully spelled out format. Not @ en_US iphone objective c ios nslocale share improve this question The solutions provided will actually return the current region of the device not the currently selected language. These are often one and the same. However.. nslocale share improve this question The solutions provided will actually return the current region of the device not the currently selected language. These are often one and the same. However if I am in North America and I set my language to Japanese my region will still be English United States . In order to retrieve.. region of the device not the currently selected language. These are often one and the same. However if I am in North America and I set my language to Japanese my region will still be English United States . In order to retrieve the currently selected language you can do NSString language NSLocale preferredLanguages objectAtIndex..

Want to display a 3D model on the iPhone: how to get started?

http://stackoverflow.com/questions/413919/want-to-display-a-3d-model-on-the-iphone-how-to-get-started

to display a 3D model on the iPhone how to get started I want to display and rotate a single 3D model preferably textured on the iPhone. Doesn't have to zoom in and out or have a background or anything. I have the following an iPhone a MacBook the iPhone SDK Blender My knowledge base I can make 3D models.. development library using Visual Studio on Windows. What I do not know Much about Objective C Anything about OpenGL or OpenGL ES which the iPhone apparently uses Anything about XCode My main problem is that I don't know where to start All the iPhone books I found seem to be about creating GUI applications not OpenGL apps... to start All the iPhone books I found seem to be about creating GUI applications not OpenGL apps. I found an OpenGL book but I don't know how much if any applies to iPhone development. And I find the Objective C syntax somewhat confusing with the weird nested method naming things like id that don't make sense and the scary..

Rendering to non-power-of-two texture on iPhone

http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone

on the iPhone 2G and older If I bind a texture as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non.. iPhone 2G and older If I bind a texture as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non power of.. has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non power of two textures newer iOS device models have the extension GL_APPLE_texture_2D_limited_npot..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally.. Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like to map them from 0 1023 the size of my.. Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like to map them from 0 1023 the size of my TextureAtlas for readability's sake. I've seen sample code that defines..

CADisplayLink OpenGL rendering breaks UIScrollView behaviour

http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour

OpenGL rendering breaks UIScrollView behaviour There are a few similar questions out there on SO links at end but none of them has allowed me to fix my problem so here goes I'm using OpenGL rendering to make an image tiling and caching.. breaks UIScrollView behaviour There are a few similar questions out there on SO links at end but none of them has allowed me to fix my problem so here goes I'm using OpenGL rendering to make an image tiling and caching library for use in a game project and I want to hijack the physics of the UIScrollView to allow the.. image tiling and caching library for use in a game project and I want to hijack the physics of the UIScrollView to allow the user to navigate around the images since it has nice bounce behaviour might as well use it . So I have a UIScrollView which I'm using to get the rendering view for my textures but there's a problem..

Learning OpenGL ES 1.x

http://stackoverflow.com/questions/72288/learning-opengl-es-1-x

OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been a while since I last used OpenGL . I.. to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been a while since I last used OpenGL . I am most interested in learning this for iPhone related development but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming.. which is not entirely true but it's been a while since I last used OpenGL . I am most interested in learning this for iPhone related development but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming Guide but I am concerned that it might not be the best approach..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in.. alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. Performance is important because I have to perform this operation.. faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. Performance is important because I have to perform this operation repeatedly. I have searched the web and found some approach like using..

Want to display a 3D model on the iPhone: how to get started?

http://stackoverflow.com/questions/413919/want-to-display-a-3d-model-on-the-iphone-how-to-get-started

library using Visual Studio on Windows. What I do not know Much about Objective C Anything about OpenGL or OpenGL ES which the iPhone apparently uses Anything about XCode My main problem is that I don't know where to start All the iPhone..

Rendering to non-power-of-two texture on iPhone

http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone

to non power of two texture on iPhone Is it possible to render to texture with OpenGL ES 1.1 on the iPhone 2G and older If I bind a texture as a render buffer it has to be the size of the render buffer which isn't.. If I bind a texture as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this.. of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non power of..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like to map them..

CADisplayLink OpenGL rendering breaks UIScrollView behaviour

http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour

UIScrollView broken and halts scrolling with OpenGL rendering related CADisplayLink NSRunLoop Animation in OpenGL ES view freezes when UIScrollView is dragged on iPhone iphone opengl es share improve this question It's possible that.. the main thread triggered by the CADisplayLink are what's breaking UIScrollView's scrolling behavior here. Your OpenGL ES rendering might be taking long enough for each frame to throw off the timing of a UIScrollView when using NSRunLoopCommonModes.. of a UIScrollView when using NSRunLoopCommonModes for the CADisplayLink. One way around this is to perform your OpenGL ES rendering actions on a background thread by using a Grand Central Dispatch serial queue. I did this in my recent update..

Learning OpenGL ES 1.x

http://stackoverflow.com/questions/72288/learning-opengl-es-1-x

OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not.. OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been a while since I last used OpenGL ... related development but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming Guide but I am concerned that it might not be the best approach because it focuses on 2.0 rather than 1.x...

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small.. have searched the web and found some approach like using Pixel Buffer Object and glMapBuffer but it seems that OpenGL ES 2.0 does not support them. iphone ios opengl es opengl es 2.0 share improve this question As of iOS 5.0 there is now.. es opengl es 2.0 share improve this question As of iOS 5.0 there is now a faster way to grab data from OpenGL ES. It isn't readily apparent but it turns out that the texture cache support added in iOS 5.0 doesn't just work for fast upload..

OpenGL ES Render to Texture

http://stackoverflow.com/questions/1024603/opengl-es-render-to-texture

code to render a scene to a texture in OpenGL ES specifically for the iPhone if that matters . I am interested in knowing the following How do you render a scene to a texture in OpenGL ES What parameters must you use to create a.. of being a render target in OpenGL ES Are there any implications with applying this rendered texture to other primitives iphone opengl es render to texture share improve this question This is how I'm doing it. I define a texture variable.. target in OpenGL ES Are there any implications with applying this rendered texture to other primitives iphone opengl es render to texture share improve this question This is how I'm doing it. I define a texture variable I use Apple's Texture2D..

How to use OpenGL ES on a separate thread on iphone?

http://stackoverflow.com/questions/1253145/how-to-use-opengl-es-on-a-separate-thread-on-iphone

thread on iphone The OpenGL ES rendering loop is placed on a separate thread in my iphone application. Everything goes fine except that the EAGLContext's presentRenderbuffer method fails. The result is a blank white screen. When the same code.. loop is placed on a separate thread in my iphone application. Everything goes fine except that the EAGLContext's presentRenderbuffer method fails. The result is a blank white screen. When the same code is run on the main thread presentRenderbuffer.. in my iphone application. Everything goes fine except that the EAGLContext's presentRenderbuffer method fails. The result is a blank white screen. When the same code is run on the main thread presentRenderbuffer succeeds and the graphics is..

What does the Tiler Utilization statistic mean in the iPhone OpenGL ES instrument?

http://stackoverflow.com/questions/1287811/what-does-the-tiler-utilization-statistic-mean-in-the-iphone-opengl-es-instrumen

does the Tiler Utilization statistic mean in the iPhone OpenGL ES instrument I have been trying to perform some OpenGL ES performance.. I have been trying to perform some OpenGL ES performance optimizations in an attempt to boost the number of triangles per second that I'm able to render in my iPhone application but I've hit a brick wall. I've tried converting my OpenGL ES.. that I'm able to render in my iPhone application but I've hit a brick wall. I've tried converting my OpenGL ES data types from fixed to floating point per Apple's recommendation interleaving my vertex buffer objects and minimizing changes in..

How to get UIImage from EAGLView?

http://stackoverflow.com/questions/1352864/how-to-get-uiimage-from-eaglview

to get UIImage from EAGLView I am trying to get a UIImage from what is displayed in my EAGLView. Any suggestions on how to do this iphone uikit uiview opengl es eaglview share improve this question An EAGLView is just a kind.. to get a UIImage from what is displayed in my EAGLView. Any suggestions on how to do this iphone uikit uiview opengl es eaglview share improve this question An EAGLView is just a kind of view and its underlying CAEAGLLayer is just a kind.. in my EAGLView. Any suggestions on how to do this iphone uikit uiview opengl es eaglview share improve this question An EAGLView is just a kind of view and its underlying CAEAGLLayer is just a kind of layer. That means that the standard..

OpenGL ES iPhone - drawing anti aliased lines

http://stackoverflow.com/questions/1813035/opengl-es-iphone-drawing-anti-aliased-lines

ES iPhone drawing anti aliased lines Normally you'd use something like glBlendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA glEnable GL_BLEND glEnable GL_LINE_SMOOTH.. 0 num_points glDisableClientState GL_VERTEX_ARRAY It looks good in the iPhone simulator but on the iPhone the lines get extremely thin and w o any anti aliasing. How do you get AA on iPhone iphone opengl es line antialiasing share improve.. but on the iPhone the lines get extremely thin and w o any anti aliasing. How do you get AA on iPhone iphone opengl es line antialiasing share improve this question One can achieve the effect of anti aliasing very cheaply using vertices..

Where to start openGL ES to create and rotate a cube in an iPhone? [closed]

http://stackoverflow.com/questions/2857463/where-to-start-opengl-es-to-create-and-rotate-a-cube-in-an-iphone

no texture no background. Where should I start to be able to do this app I'm searching for some tutorials or exemples. Thanks iphone 3d opengl es share improve this question I created an OpenGL ES sample application that displays a textured.. Where should I start to be able to do this app I'm searching for some tutorials or exemples. Thanks iphone 3d opengl es share improve this question I created an OpenGL ES sample application that displays a textured cube and lets you rotate.. able to do this app I'm searching for some tutorials or exemples. Thanks iphone 3d opengl es share improve this question I created an OpenGL ES sample application that displays a textured cube and lets you rotate it using touch gestures..

Any one know of an OpenGL ES example of an interactive globe/earth for the iPhone

http://stackoverflow.com/questions/322111/any-one-know-of-an-opengl-es-example-of-an-interactive-globe-earth-for-the-iphon

to the one in the Smule products. Any help will be great even if it is just part of the solution. iphone opengl es share improve this question Someone just pointed me to this question. I have one It's called WhirlyGlobe and it's built.. products. Any help will be great even if it is just part of the solution. iphone opengl es share improve this question Someone just pointed me to this question. I have one It's called WhirlyGlobe and it's built specifically for this.. it is just part of the solution. iphone opengl es share improve this question Someone just pointed me to this question. I have one It's called WhirlyGlobe and it's built specifically for this purpose. Runs on ios uses a combo of Objective..

Getting current device language in iOS?

http://stackoverflow.com/questions/3910244/getting-current-device-language-in-ios

this as an NSString in fully spelled out format. Not @ en_US iphone objective c ios nslocale share improve this question The solutions provided will actually return the current region of the device not the currently selected language... The solutions provided will actually return the current region of the device not the currently selected language. These are often one and the same. However if I am in North America and I set my language to Japanese my region will still be.. selected language. These are often one and the same. However if I am in North America and I set my language to Japanese my region will still be English United States . In order to retrieve the currently selected language you can do NSString..

Want to display a 3D model on the iPhone: how to get started?

http://stackoverflow.com/questions/413919/want-to-display-a-3d-model-on-the-iphone-how-to-get-started

on the iPhone how to get started I want to display and rotate a single 3D model preferably textured on the iPhone. Doesn't have to zoom in and out or have a background or anything. I have the following an iPhone a MacBook the iPhone SDK Blender.. on Windows. What I do not know Much about Objective C Anything about OpenGL or OpenGL ES which the iPhone apparently uses Anything about XCode My main problem is that I don't know where to start All the iPhone books I found seem to be about creating.. to be about creating GUI applications not OpenGL apps. I found an OpenGL book but I don't know how much if any applies to iPhone development. And I find the Objective C syntax somewhat confusing with the weird nested method naming things like..

Rendering to non-power-of-two texture on iPhone

http://stackoverflow.com/questions/4760174/rendering-to-non-power-of-two-texture-on-iphone

a texture as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question .. as a render buffer it has to be the size of the render buffer which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL.. which isn't POT sized. But OpenGL ES 1.1 requires textures to be POT. Maybe it can't be done on ES 1.1 iphone opengl es render to texture share improve this question While OpenGL ES 1.1 does not support non power of two textures newer iOS..

Animation in OpenGL ES view freezes when UIScrollView is dragged on iPhone

http://stackoverflow.com/questions/4876488/animation-in-opengl-es-view-freezes-when-uiscrollview-is-dragged-on-iphone

in OpenGL ES view freezes when UIScrollView is dragged on iPhone I have an animated transparent OpenGL ES subview a modification of Apple's template.. Apple's template EAGLView class which draws a rotating sphere. Just like Apple's example CADisplayLink is used on devices where available. On the same screen there is a UIScrollView containing UIButtons that can be selected. When the user scrolls.. containing UIButtons that can be selected. When the user scrolls the UIScrollView the animation of my EAGLView freezes. This behavior is reproduced on iOS Simulator 4.2 and on iPhone OS 3.1.3 on an iPhone 2G device. Any ideas on what to do..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates.. Texture Coordinates in Pixel Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like.. Space I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0 1 range but ideally I'd like to map them from 0 1023 the size of my TextureAtlas for readability's..

CADisplayLink OpenGL rendering breaks UIScrollView behaviour

http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour

OpenGL rendering breaks UIScrollView behaviour There are a few similar questions out there on SO links at end but none of them has allowed me to fix my problem so here goes I'm using OpenGL rendering.. are a few similar questions out there on SO links at end but none of them has allowed me to fix my problem so here goes I'm using OpenGL rendering to make an image tiling and caching library for use in a game project and I want to hijack the.. in a game project and I want to hijack the physics of the UIScrollView to allow the user to navigate around the images since it has nice bounce behaviour might as well use it . So I have a UIScrollView which I'm using to get the rendering..

learning iphone game development

http://stackoverflow.com/questions/720901/learning-iphone-game-development

iphone game development What would be the quickest route for a developer to learn to game development on the iphone. Ive some .net winforms and webform experience but no.. webform experience but no experience with direct x or any graphics and game dev. In my spare time I want to learn these skills but would like to learn via the iphone. So Im just wondering what are the best resources out there to learn iphone.. my spare time I want to learn these skills but would like to learn via the iphone. So Im just wondering what are the best resources out there to learn iphone development and open gl on iphone. Books websites etc your tips are much appreciated...

Learning OpenGL ES 1.x

http://stackoverflow.com/questions/72288/learning-opengl-es-1-x

OpenGL ES 1.x What is the quickest way to come up to speed on OpenGL ES 1.x Let's assume I know nothing about OpenGL which is not entirely true but it's been.. I know nothing about OpenGL which is not entirely true but it's been a while since I last used OpenGL . I am most interested in learning this for iPhone related development but I'm interested in learning how it works on other platforms as well... a while since I last used OpenGL . I am most interested in learning this for iPhone related development but I'm interested in learning how it works on other platforms as well. I've found the book OpenGL ES 2.0 Programming Guide but I am concerned..

Learning OpenGLES 2.0 on iOS

http://stackoverflow.com/questions/8482327/learning-opengles-2-0-on-ios

OpenGLES 2.0 on iOS I'm a beginner with OpenGL ES 2.0 and I'm looking for a good book resource that will help me with my learning. I've found several books OpenGLĀ® ES 2.0 Programming Guide iPhone 3D Programming.. with OpenGL or are not written specifically for iOS. I know OpenGL should be easy to port but I'm looking for a book resource with examples in C not C that talks about OpenGL in the iOS context I also found this and it really helped me getting.. not written specifically for iOS. I know OpenGL should be easy to port but I'm looking for a book resource with examples in C not C that talks about OpenGL in the iOS context I also found this and it really helped me getting a grasp on the basic..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

alternative to glReadPixels in iPhone OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame.. OpenGL ES 2.0 Is there any faster way to access the frame buffer than using glReadPixels I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. Performance is important.. than using glReadPixels I would need read only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. Performance is important because I have to perform this operation repeatedly. I have searched..