Questions tagged [eaglview]

OpenGL view for iOS application.

EAGLView class provides OpenGL ES API. t includes usages of Vertex Buffer Objects (VBOs), Vertex Array Objects (VAOs), Framebuffer Objects (FBO), and GLSL Program Objects. It creates a VAO and VBOs from model data loaded in. It then creates a texture for the model from image data and GLSL shaders from source also loaded in. Finally, it creates an FBO and texture to render a reflection of the model. It uses an environment mapping GLSL program to apply the reflection texture to a plane.

Complete Class

83 questions
0
votes
1 answer

Game Center erasing textures in EAGLView

I am having a problem with the Game Center integration in MonoTouch, whereby the Game Center sign-in view is loading, but it is erasing any textures currently loaded. If I comment out the PresentModalViewController line, then the game center sign in…
emacinnes
  • 21
  • 2
0
votes
0 answers

Blank image is coming when I try to get image from EAGLView using snapshot method

Possible Duplicate: Why is glReadPixels() failing in this code in iOS 6.0? Blank image is coming when I try to get image from EAGLView using snapshot method in iOS 6. How can I fix this issue? Here is the reference link for snapshot method: How…
Dee
  • 1,887
  • 19
  • 47
0
votes
1 answer

NSString not drawing?

I am trying to draw an NSString, but it won't render for some reason. - (void)renderScene { // Make sure we are renderin to the frame buffer [EAGLContext setCurrentContext:context]; glBindFramebufferOES(GL_FRAMEBUFFER_OES,…
Xcoder
  • 45
  • 1
  • 5
0
votes
1 answer

Can i make curl page effect with EAGLView?

I want to get the effect like Google Maps, but replace MapView with EAGLView.Is this possible and how? I used link.It use UIView as targetView,there's something wrong when set targetView to EAGLView i'm not sure it support EAGLView
Maadiah
  • 431
  • 6
  • 20
0
votes
2 answers

Tracking 3D cube position OpenGL?

SHORT INTRO: I'm having trouble with a 3D cube on a plane. The plane is a grid of squares. The ID number of the square that the cube currently occupies on is stored in a storage-variable. This is so that I can tell whether or not adjacent squares…
RexOnRoids
  • 14,002
  • 33
  • 96
  • 136
0
votes
1 answer

Adding the openGL Particle Emitter by Michael Daley inside GLKView

I try to use the great particle emitter which Michael Daley build for his Particle Designer to be working inside a GLKView. I see two ways to get there: hack the code from his great (but too old) tutorial to work with iOS5.1 inside a GLKView pay…
headkit
  • 3,307
  • 4
  • 53
  • 99
0
votes
2 answers

Cocos2d effects slow down FPS drammatically and how to initialize EAGLView properly

EDIT2: In response to the answer below I did create a different GameScene for testing the framerate performance with 4 sprites animated by a CCShaky3D effect. The problem still persist as the fps is still around ~15fps. I paste the code at the end…
mm24
  • 9,280
  • 12
  • 75
  • 170
-1
votes
2 answers

Make an EAGLView transparent?

It's possible to place in a UIViewController object an EAGLView object and make the background of EAGLView transparent in order to view what is behind? Thanks. -UPDATE---- I've tried which appears in this post. But still the layer of the EAGLView…
NemeSys
  • 555
  • 1
  • 10
  • 28
1 2 3 4 5
6