Re: Fade out the window content
Re: Fade out the window content
- Subject: Re: Fade out the window content
- From: Lorenzo <email@hidden>
- Date: Fri, 11 Feb 2005 03:22:49 +0100
Hi, thanks.
I think I will try to fade out the lights. If this doesn't work well I will
try putting a transparent QUAD over the entire scene, then I'll fade it from
transparent to black. I hope this works.
Best Regards
--
Lorenzo
email: email@hidden
> From: Guy English <email@hidden>
> Reply-To: Guy English <email@hidden>
> Date: Thu, 10 Feb 2005 10:14:38 -0500
> To: Lorenzo <email@hidden>
> Cc: Cocoa List <email@hidden>
> Subject: Re: Fade out the window content
>
> 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