Re: Noise in CALayer
Re: Noise in CALayer
- Subject: Re: Noise in CALayer
- From: Bertrand Landry-Hetu <email@hidden>
- Date: Fri, 14 May 2010 01:58:21 -0400
By the looks of that screen shot I'd suggest you had a look at the
bitmap used to fade out the reflection, there is probably a semi
transparent gradient being drawn on top of a uninitialized image
buffer. The easiest way to fix this is to fill it with [NSColor
clearColor] before drawing the gradient.
2010/5/14 Chaitanya Pandit <email@hidden>:
> I'm playing with cover flow in one of my apps with the "CovertFlow" sample code from apple (http://www.letscocoa.com/CovertFlow.zip)
> However, sometimes i see a weird noise kinda thing in the shadows, here is a snapshot:
> http://cl.ly/17ci
>
> Any idea what might be going wrong?
>
> Thanks,
>
> Chaitanya Pandit
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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)
Please 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