Re: NSOpenGLView. How does it work?
Re: NSOpenGLView. How does it work?
- Subject: Re: NSOpenGLView. How does it work?
- From: David Hill <email@hidden>
- Date: Mon, 30 Jun 2003 12:05:49 -0700
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.