• 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
Basic OpenGL 3d drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic OpenGL 3d drawing


  • Subject: Basic OpenGL 3d drawing
  • From: David Newberry <email@hidden>
  • Date: Sat, 11 May 2002 17:58:07 -0700

Hello all,

I am working on rewriting a simple OpenGL game. I was never very good with OGL, but I was able to make it work with an old Carbon app I wrote on OS 9.
Now I want to redo it with Cocoa and inside an NSOpenGLView (as opposed to doing it full screen as I had before). What I can't seem to make it do is have perspective. When I put in the calls that I thought should do this for me, I don't get anything. I suppose the most obvious explanation is that I have the camera pointed the wrong way or something, but I'm just not sophisticated enough yet to fix the problem.

What I'm hoping is that perhaps someone has a simple example that does what I am trying to do -- namely simple, decent 3d drawing in an NSOpenGLView. It seems that all of Apple's sample code in this area is either overly complex or isn't concerned with 3d drawing.

Any help is appreciated. Thanks all.

Peace,
-David Newberry
_______________________________________________
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.

  • Prev by Date: Re: Relative pathnames e.g. when initializing NSImages?
  • Next by Date: DocumentController & ApplicationController: messages between them?
  • Previous by thread: Re: Adding AS Studio functionality to existing Cocoa app?
  • Next by thread: DocumentController & ApplicationController: messages between them?
  • Index(es):
    • Date
    • Thread