• 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
Re: OpenGL Examples in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL Examples in Cocoa


  • Subject: Re: OpenGL Examples in Cocoa
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 8 Jun 2001 16:32:48 +0200

On vendredi, juin 8, 2001, at 03:24 PM, John Stringham wrote:

Hey all,

First, Erik, great work on the examples. They're much appreciated. They've
helped me already :)

However - I have one itsy bitsy problem, which I believe Erik may run into
as well. Although OpenGL rendering works fine in a GLUT created window, in
an NSOpenGLView Subclass, it refuses to render depth properly. That is,
polygons that are created first are always displayed on top of other
polygons, even with proper calls to glEnable(GL_DEPTH_TEST) and
glDepthFunc(GL_LEQUAL) etc.

Very peculiar. Like I said, the exact same polygons and (pretty much) the
same code work flawlessy under a GLUT window. However this is blatantly
un-Obj-C, so if anyone knows how to get around it I'd appreciate their
input.

Software or Hardware rendering ?


  • Prev by Date: Re: Rotating NSImage?
  • Next by Date: NSSavePanel with a Sheet, strange callBack definition
  • Previous by thread: RE: OpenGL Examples in Cocoa
  • Next by thread: Re: OpenGL Examples in Cocoa
  • Index(es):
    • Date
    • Thread