• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS OpenGL ES woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS OpenGL ES woes


  • Subject: iOS OpenGL ES woes
  • From: Vincent Habchi <email@hidden>
  • Date: Tue, 02 Jul 2013 17:27:37 +0200

Hi folks,

I am trying to develop a demo application (DEM viewer) on iOS for educational purposes. I am fairly fluent with OpenGL but this my first try at an iOS app (I usually do OS X development). My problem is that albeit I seem to have abided by all terms of what’s described in the ‘Drawing with OpenGL ES’ document, nothing appears on screen.

I create a window/view controller/view with an opaque CAEAGLLayer. I alloc everything, EAGLContext, frame buffer, render buffer, call [_glContext renderBufferStorage:fromDrawable], etc. check if my frame buffer is complete (it is) and eventually I just try to clear the display to blue via a glClearColor (0, 0, 1, 1) in the -viewDidLoad: method  (calling glFlush () immediately after). Nothing happens (on the simulator): I get a white screen.

I have fiddled with some controls in IB, but to no avail.

Has anybody any hint?

Thanks!
Vincent


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: iOS OpenGL ES woes
      • From: vincent habchi <email@hidden>
  • Prev by Date: redo: action not in First Responder
  • Next by Date: Re: iOS OpenGL ES woes
  • Previous by thread: Re: redo: action not in First Responder
  • Next by thread: Re: iOS OpenGL ES woes
  • Index(es):
    • Date
    • Thread