• 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: Fade out the window content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fade out the window content


  • Subject: Re: Fade out the window content
  • From: Guy English <email@hidden>
  • Date: Thu, 10 Feb 2005 10:14:38 -0500

On Wed, 09 Feb 2005 23:53:46 +0100, Lorenzo <email@hidden> wrote:
> Thank you, but... in my window I have a NSOpenGLView which runs an animation
> actually. I can't do what you say. I need to act on the rgba values, but I
> don't know how yet.
Well as others have suggested placing a black rectangle in front of
your view and fading that in will have the same effect. If you want to
fade your OpenGL view I'd suggest doing it the OpenGL way - then
you're not relying on the controller you embed your view in to do the
fading for you. Basically you just want to render a full screen
orthographically projected black quad and adjust the alpha values to
fade it in. Uh, by full screen I mean cover the context. I don't know
how much you know about OpenGL but if you need tips on how to do this
you can search for examples of sprites in OpenGL. If that still
doesn't help you I've got code I can share.

Gyt
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Fade out the window content
      • From: Lorenzo <email@hidden>
References: 
 >Re: Fade out the window content (From: Guy English <email@hidden>)
 >Re: Fade out the window content (From: Lorenzo <email@hidden>)

  • Prev by Date: NSTableColumn, NSButtonCell and target bindings
  • Next by Date: OT: Tool-tips flickering-madness in Apple Mail
  • Previous by thread: Re: Fade out the window content
  • Next by thread: Re: Fade out the window content
  • Index(es):
    • Date
    • Thread