Re: Multiple QTMovies and Images under one controller
Re: Multiple QTMovies and Images under one controller
- Subject: Re: Multiple QTMovies and Images under one controller
- From: "Chris B" <email@hidden>
- Date: Mon, 5 Mar 2007 08:44:42 -0800
Tim, I have and am doing a similar thing. However my approach has
worked very well for me, and does exactly what you described. Use
multiple NSWindows. Use NSBorderlessWindowMask (sp) and make set their
backgrounds to clearColor. Then set the content views to your
NSImageView, or QTMovieView. You can layer / order these all day long.
Move them, animate them. If you add them as children to a parent
window then they will stay with the parent. Works like charm.
I am pretty new to this too, so there may be a better way, but this
has worked well for me.
On 3/5/07, Tim Yates <email@hidden> wrote:
Hi everyone, I hope someone can point me in the right direction, I've
got that flailing feeling at the moment...
I am trying to write an application to play multiple movies and
display images simultaneously on the same View
The first thing I tried was declaring my own view which created
QTMovieView subviews that could be dragged around, but after reading
these lists found out that overlapping views is not a Good Thing to be
doing (and you cannot draw over the top of QTMovieView very easily to
show resize handles, etc
So I am now trying rendering movies/images etc to OpenGL textures, and
displaying them as OpenGL quads (like the QTCoreVideo101 sample, and
the LiveVideoMixer sample).
Is this the way forward?
I keep crashing head first into problems, and don't have the
experience to tell me if it is worth going forward...
It would be great if someone could tell me if I am on the right path,
or if there are other avenues I should be looking into and
considering..
Thanks for any help/ideas/new directions you can give!
Tim
PS: Sorry if this is a regularly repeated question, I had a quick
look through the search, but couldn't see anything directly relating
to my problem :-(
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden