Re: beginner's doubts to OpenGL
Re: beginner's doubts to OpenGL
- Subject: Re: beginner's doubts to OpenGL
- From: " Kuon - Nicolas Goy (Goyman.com SA) - 時期精霊 " <email@hidden>
- Date: Thu, 05 Oct 2006 12:19:22 +0200
On 5 Oct 2006, at 01:58, Gargi wrote:
Just answer the basic questions:-
1. where do i find real samples with absolute step by step guide
teaching me how to run stuff (like where to run the code shown
above)? More definite web links shall be appreciated
2. HOW does cocoa fit into all tis?
thanks for the quick response, guys!
Nehe at gamedev will help you, but download a Solaris sample for
simpler understanding, the Solaris samples use glut, which is simpler
than COCOA and Core Foundation framework. ( do a new project, use BSD
standard tool, and add main.c and do some header modification)
When you have all that in your head, you can create a cocoa
application and use a rectangle in a window as an opengl context.
Just a little note:
#include <GLUT/glut.h> // Header File For The GLUT Library
#include <OpenGL/gl.h> // Header File For The OpenGL32 Library
#include <OpenGL/glu.h> // Header File For The GLu32 Library
You must include those on macosx, it's different than other OS, and
you must also link OpenGL.framework, as well as glut if you use it.
Regards
--
Kuon
CEO - Goyman.com SA
http://www.goyman.com/
"Computers should not stop working when the users' brain do."
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden