• 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: Cocoa Open GL help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Open GL help


  • Subject: Re: Cocoa Open GL help
  • From: Brent Gulanowski <email@hidden>
  • Date: Tue, 11 Sep 2001 08:29:58 -0400

Lesson 2 was ported already to Cocoa, check that out. It's very primitive,
but it will get you started.

Teapot uses NSTimers to call the rendering loop. You can also try calling
-performSelector:withObject:delay: at the end of your rendering method (have
it call itself with a nil object, it works fine).

I'm personally having trouble figuring out why my -init method for
MyOpenGLView isn't being called. It's a nib object; should I put init stuff
into awakeFromNib? I'll probably find the answer somewhere in Vermont
Recipes but a hint would be nice :)

BG

> From: jon white <email@hidden>
> Date: Mon, 10 Sep 2001 17:10:52 -0700 (PDT)
> To: email@hidden
> Subject: Cocoa Open GL help
>
> Hi,
> I'm completely new to programming. So I was
> trying to learn Cocoa in Open GL and I found this cool
> tutorial but it only had source code for Carbon.
> Can someone convert it to Cocoa? Thanks. Here's the
> link: http://nehe.gamedev.net/tutorials/lesson05.asp
>
> Thanks
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Follow-Ups:
    • Re: Cocoa Open GL help
      • From: Raphael Sebbe <email@hidden>
    • Re: Cocoa Open GL help
      • From: Ondra Cada <email@hidden>
References: 
 >Cocoa Open GL help (From: jon white <email@hidden>)

  • Prev by Date: Re: Moving / clicking the mouse programmatically
  • Next by Date: Re: Mac OS X 10.1 File Name Extension Guidelines
  • Previous by thread: RE: Cocoa Open GL help
  • Next by thread: Re: Cocoa Open GL help
  • Index(es):
    • Date
    • Thread