Re: Cocoa Open GL help
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