• 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: beginner's doubts to OpenGL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >beginner's doubts to OpenGL (From: Gargi <email@hidden>)
 >Re: beginner's doubts to OpenGL (From: Gargi <email@hidden>)

  • Prev by Date: Re: Coding a plain C application in XCode with windows compatibility
  • Next by Date: RE: Coding a plain C application in XCode with windows compatibility
  • Previous by thread: Re: beginner's doubts to OpenGL
  • Next by thread: Re: beginner's doubts to OpenGL
  • Index(es):
    • Date
    • Thread