• 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: Using OpenGL to create a custom interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using OpenGL to create a custom interface


  • Subject: Re: Using OpenGL to create a custom interface
  • From: Cynthia Maxwell <email@hidden>
  • Date: Wed, 14 Nov 2007 22:15:58 -0800

Hi,

Using Cocoa to wrap an OpenGL view is pretty easy. In /Developer/ Examples/CoreAudio/PublicUtility/Cocoa there should be an example OpenGL view called CAOpenGLTrackballView. It is a subclass of NSOpenGLView with trackball functionality to intercept mouse events for 3D rotation, panning, etc. All you need to do, is subclass the drawRect method and possibly reposition the camera for your data.

Cheers,
Cynthia


On Nov 14, 2007, at 9:09 PM, paul Fultz wrote:

I was wondering how you would go about using opengl to
create a custom interface, If i use opengl do i need
to create the audio unit with carbon or cocoa first?
or can i start with a generic audio unit and use
opengl from there? also where would i implement the
funtion calls from opengl such as glutDisplayFunc(),
glutMouseFunc(), etc?
Thanks,
Paul


______________________________________________________________________ ______________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Using OpenGL to create a custom interface
      • From: paul Fultz <email@hidden>
References: 
 >Using OpenGL to create a custom interface (From: paul Fultz <email@hidden>)

  • Prev by Date: Re: Using OpenGL to create a custom interface
  • Next by Date: Re: my instrument doesn't show up in GarageBand
  • Previous by thread: Re: Using OpenGL to create a custom interface
  • Next by thread: Re: Using OpenGL to create a custom interface
  • Index(es):
    • Date
    • Thread