• 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: Move Camera in OpenGL ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move Camera in OpenGL ?


  • Subject: Re: Move Camera in OpenGL ?
  • From: David Remahl <email@hidden>
  • Date: Fri, 11 Apr 2003 15:16:57 +0200

This isn't really a question for a cocoa mailing list. It is a general OpenGL question.

One common way is to - instead of placing a camera in the scene - move the world around him. Another is to use gluLookAt() from the GL Utility Library, which allows you to specify an angle in a relatively high level fashion.

You should read some OpenGL tutorials from <http://nehe.gamedev.net/> and be aware that an NSOpenGLView acts exactly the same as any other OpenGL context once it is the current context [[glView openGLContext] makeCurrentContext]. It is automatically made the current context before -drawRect: is sent.

/ Sincerely, David Remahl

On Friday, April 11, 2003, at 09:44 AM, Georges Engelmann wrote:

Hello

How to move the camera in NSOpenGL ?
_______________________________________________
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: 
 >Move Camera in OpenGL ? (From: Georges Engelmann <email@hidden>)

  • Prev by Date: Newbie question
  • Next by Date: Re: Text with white background in striped TableView
  • Previous by thread: Move Camera in OpenGL ?
  • Next by thread: Re: Move Camera in OpenGL ?
  • Index(es):
    • Date
    • Thread