@ NeilRoberts:
The file you gave me is currently doing that?

I see the test_black_texture_paint function that overrides the paint one but
I can't understand it completely, does that mix the black texture depending
on the opacity property?
that would be exactly what I need

2009/5/22 Jordi Hernández Puigdellívol <[email protected]>

> Hi thanks for you help!
>
> What I'm trying to do is to fade away things, but not in depth, I want to
> fade away when going to the left/right of the screen...
>
> See this:
> http://gloobus.wordpress.com/2009/05/17/coverflow-with-default-file-image/
>
>
>
> 2009/5/22 Neil Roberts <[email protected]>
>
> On Fri, 2009-05-22 at 16:32 +0200, Jordi Hernández Puigdellívol wrote:
>>
>> > But.. what about if the texture has transparent parts, the black
>> > rectangle will darken the images behind them...
>>
>> You could make a subclass of ClutterTexture and override the paint()
>> method. Then you can mess with the color in the texture's material. This
>> would avoid having to submit two rectangles and it will honour the
>> opacity of the texture. See the attached example.
>>
>> Hope that helps.
>>
>> Regards,
>> - Neil
>>
>
>
>
> --
> Jordi Hernández Puigdellívol
>



-- 
Jordi Hernández Puigdellívol

Reply via email to