Re: Move Camera in OpenGL ?
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.