Re: Using OpenGL to create a custom interface
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