• 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 and Z Buffering with cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL and Z Buffering with cocoa


  • Subject: Re: OpenGL and Z Buffering with cocoa
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Mon, 25 Mar 2002 13:56:33 -0500

On 03/25/2002 04:45, "Starman" <email@hidden> wrote:

> Hi !
>
> I'm a newbie in openGL and I'm trying to learn how to use it with MacOS
> X and Cocoa. I based my code on the second Nehe Lesson. But to practice,
> I'm trying to design the walls of an house, and I encounter some
> problems with the Z-buffer... Here are the screenshots :
>
> a correct view from a particular angle :
>
> [demime 0.98b removed an attachment of type image/jpeg which had a name of
> correctView.jpg]
> a bad view : (you can see the whole view and the detail of the problem)
>
> [demime 0.98b removed an attachment of type image/jpeg which had a name of
> BadView(Detail).jpg]
>
> [demime 0.98b removed an attachment of type image/jpeg which had a name of
> BadView(Large).jpg]
> I don't know what happens and how to initialize my code to get what I
> expected : the 4 walls of my future house :)
> here is my code :
>
> [demime 0.98b removed an attachment of type application/octet-stream which had
> a name of MyOpenGLView.m]
> If you have enough time to give me a clue, I'll be very happy

The first thing I would check is the settings you give to your view in
the .nib file. Make sure you are in fact allocating a depth buffer.

--
Clark S. Cox III
http://clarkcox.dyndns.org/
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >OpenGL and Z Buffering with cocoa (From: Starman <email@hidden>)

  • Prev by Date: Re: Cocoa and UNIX txt files ??
  • Next by Date: Re: CMSDA
  • Previous by thread: Re: OpenGL and Z Buffering with cocoa
  • Next by thread: Re: cocoa-dev digest, Vol 2 #388 - 14 msgs
  • Index(es):
    • Date
    • Thread