• 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: Gargi <email@hidden>
  • Date: Wed, 4 Oct 2006 16:58:08 -0700

ok guys, let me get more clear. I have NO IDEA where to type somethng like:-

#include <whateverYouNeed.h>
main() {
   InitializeAWindowPlease();
   glClearColor (0.0, 0.0, 0.0, 0.0);
   glClear (GL_COLOR_BUFFER_BIT);
   glColor3f (1.0, 1.0, 1.0);
   glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
   glBegin(GL_POLYGON);
      glVertex3f (0.25, 0.25, 0.0);
      glVertex3f (0.75, 0.25, 0.0);
      glVertex3f (0.75, 0.75 , 0.0);
      glVertex3f (0.25, 0.75, 0.0);
   glEnd();
   glFlush();
   UpdateTheWindowAndCheckForEvents();
}


I could not figure out much from the "examples" (in developr/examples) if that is what you mean by sample code.
I also have no idea wht Cocoa is (and have been trying since to learn how to "edit project files" from http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeQuickTour/index.html with certain glitches!!!!)


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!





On 10/4/06, David A Rowland < email@hidden> wrote:
At 4:36 PM -0700 10/4/06, Gargi wrote:
>Hi,
>I am new to OpenGL as well as Mac OS.
>I want to learn OpenGL and I have been reading about it.
>

I did some OpenGL last year, and I found this book very helpful:

OpenGL - A Primer, by Edward Angel.


 _______________________________________________
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

  • Follow-Ups:
    • Re: beginner's doubts to OpenGL
      • From: " Kuon - Nicolas Goy (Goyman.com SA) - 時期精霊 " <email@hidden>
References: 
 >beginner's doubts to OpenGL (From: Gargi <email@hidden>)

  • Prev by Date: Re: beginner's doubts to OpenGL
  • Next by Date: Re: beginner's doubts to OpenGL
  • Previous by thread: Re: beginner's doubts to OpenGL
  • Next by thread: Re: beginner's doubts to OpenGL
  • Index(es):
    • Date
    • Thread