• 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: OpenGL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL


  • Subject: Re: OpenGL
  • From: email@hidden
  • Date: Wed, 30 Jan 2002 01:58:43 -0800

On Wednesday, January 30, 2002, at 12:51 AM, Girard Iglesias wrote:

> Don't forget that Apple has posted excellent OpenGL example on the dev
> site.
>
> Gerard

You should also note that these examples, while excellent at showing off
the amazing speed of OpenGL, tend to be huge old-school api's... not
very Cocoa-like at all. (this is the cocoa-dev list after all!)

For example, the "OpenGL Image" demo, (which really rocks, and is
totally worth downloading just to show off your machine!) requires two
other example projects to make it work... "aglString" which is Carbon C
code for text rendering, and "Carbon SetupGL" which is more C code to
integrate with DrawSprockets and AGL. It links with Carbon,
DrawSprockets, QuickTime, AGL, and OpenGL...

A good one to start with is "Cocoa InitGL"... which puts put a spinning
square with a bunch of controls to change GL params.

I was able to take that one, and slog my way through "OpenGL Image"
enough to get texture mapped images spinning around using only Cocoa...
no plain C, no AGL and no Carbon... but it's a lot of work. Apple
really ought to do some cleaner Cocoa only OGL samples.


References: 
 >Re: OpenGL (From: Gérard Iglesias <email@hidden>)

  • Prev by Date: NSTableView, Multiple Selections, and PopUpButtons
  • Next by Date: NSScrollView: why won't it scroll?
  • Previous by thread: Re: OpenGL
  • Next by thread: Simple RTF Edit question
  • Index(es):
    • Date
    • Thread