Re: NSOpenGLView. How does it work?
Re: NSOpenGLView. How does it work?
- Subject: Re: NSOpenGLView. How does it work?
- From: Lorenzo <email@hidden>
- Date: Tue, 01 Jul 2003 13:47:32 +0200
Hi David,
thank you. I downloaded "Carbon SetupGL" and "aglString" samples and now
"OpenGL Image" compiles and works well. Thank you.
I have seen this sample at a TBA session at WWDC 2003 and I was so impressed
about the speed. So I would like to learn more about OpenGL world. I tried
to understand the sample, but I have to say, it's hard since I am totally
new on OpenGL. I used to develop in Carbon and since two years ago I develop
in Cocoa. Where should I start to learn? (I mean theory and practice).
Thank you.
Best Regards
--
Lorenzo
email: email@hidden
>
From: David Hill <email@hidden>
>
Date: Mon, 30 Jun 2003 12:05:49 -0700
>
To: Lorenzo <email@hidden>
>
Cc: email@hidden
>
Subject: Re: NSOpenGLView. How does it work?
>
>
The description on the download page for OpenGL Image mentions that it
>
needs the Carbon SetupGL sample and the aglString sample to build
>
properly. Granted, that note is buried at the bottom of a really long
>
description so it is easy to miss.
>
>
Download those two samples if you'd like to build OpenGL Image for
>
Carbon.
>
>
The Cocoa OpenGL sample at
>
<http://developer.apple.com/samplecode/Sample_Code/Graphics_3D/
>
Cocoa_OpenGL.htm> shows how to set up Cocoa much like Carbon SetupGL is
>
used for OpenGL Image.
>
>
I hope that helps.
>
>
Dave
>
>
>
On Monday, June 30, 2003, at 10:50 AM, Lorenzo wrote:
>
>
> Hi,
>
> I have just downloaded from the Apple Web Site and run a very cool
>
> sample
>
> ("OpenGL Image") about OpenGL. I can choose a large Image then I can
>
> see it
>
> in a window and I can pan it, rotate it, infinite zoom it at the
>
> light-speed! It seems to work on a graphic workstation. Cool!
>
>
>
> Then I tried to compile the PB project but some files are missed
>
> (within the
>
> whole folder "Carbon SetupGL"), so I cannot compile nor learn more.
>
> And this
>
> sample is in Carbon. I would like to do the same in Cocoa.
>
>
>
> Since I am totally new at OpenGL and NSOpenGLView I tried even to
>
> learn more
>
> about NSOpenGLView but I didn't find anything useful for me. I found
>
> only
>
> some short description about the single APIs. But I am not able to
>
> understand how they work together. Thus I am not able to reproduce
>
> that cool
>
> sample by myself in Cocoa.
>
>
>
> Is anyone can help me? Thank you.
>
>
>
>
>
> Best Regards
>
> --
>
> Lorenzo
>
> email: email@hidden
>
> _______________________________________________
>
> cocoa-dev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.