OpenGL and Z Buffering with cocoa
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.