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

OpenGL and Z Buffering with cocoa


  • Subject: OpenGL and Z Buffering with cocoa
  • From: Starman <email@hidden>
  • Date: Mon, 25 Mar 2002 10:45:36 +0100

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

Starman
_______________________________________________
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.

  • Follow-Ups:
    • Re: OpenGL and Z Buffering with cocoa
      • From: "Clark S. Cox III" <email@hidden>
    • Re: OpenGL and Z Buffering with cocoa
      • From: Starman <email@hidden>
  • Prev by Date: Re: CMSDA
  • Next by Date: Re: OpenGL and Z Buffering with cocoa
  • Previous by thread: Re: Drawing an arrowhead
  • Next by thread: Re: OpenGL and Z Buffering with cocoa
  • Index(es):
    • Date
    • Thread