Thanks for all the answers. The way I solved it was to add a normal
rectangle with the blend op just below the copy rectangle with the same size
and with alpha=255.

/Mikael

On Wed, Dec 2, 2009 at 7:13 AM, Jose Gonzalez <[email protected]> wrote:

>  Carsten wrote:
>
>  On Tue, 1 Dec 2009 05:20:22 -0800 Mikael Liljeroth <
>> [email protected]>
>> said:
>>
>>
>>
>>> Ok. The reason for the copy op is that I want an area of the output
>>> with a particular color and alpha value since I'm blending the entire
>>> output
>>> later on with other graphics (not using evas), like a cutout effect.
>>> Therefore
>>> I do not want to render things behind the cutout rectangle. Is this
>>> possible?
>>>
>>>
>>
>> hmmm well didn't really design/intend it for that - the render ops are
>> sparsely
>> supported at the moment outside of the software engines. i guess in theory
>> it
>> works but it wasn't intended for what you are using it for :)
>>
>>
>>
>
>  When I added the render-ops to evas (way back when...) I didn't
> support smart-objects with them (for several reasons of the time,
> eg. smarts didn't implement a render function, they didn't call
> the render functs of their members, etc). And even for the gfx
> primitives it was done mostly for the software32 based engines.
>  Perhaps this could be supported now given all the more recent
> changes.. haven't really looked so I can't say for sure, but it's
> certainly feasible (especially if you limit to just the soft32 and
> gl based engines).
>
>  In any event... It's not clear to me just what the poster wants
> to do exactly, but it may be that what he wants might be obtained
> by adding a bottom-most rectangle member obj (the size of the smart
> parent) which is set to have a copy render-op and of color 0.
>
>
>
>  /Mikael
>>>
>>> On Tue, Dec 1, 2009 at 4:59 AM, Carsten Haitzler <[email protected]
>>> >wrote:
>>>
>>>
>>>
>>>> On Tue, 1 Dec 2009 00:59:36 -0800 Mikael Liljeroth <
>>>> [email protected]>
>>>> said:
>>>>
>>>>
>>>>
>>>>> Hi, does the 'obscuring objects'-thing work with smart objects?
>>>>> When I have an opaque rectangle in a smart object (render copy op)
>>>>> objects behind it are still rendered. I have a rather old snapshot of
>>>>> efl
>>>>> from 2008
>>>>> so maybe this has been fixed in a later revision?
>>>>>
>>>>>
>>>> why did u set the render op to copy? just leave it with blend. evas
>>>> already
>>>> knows if alpha is 255 to obscure it. it actually is not so smart with
>>>> other
>>>> render ops.
>>>>
>>>>
>>>>
>>>>> /Mikael
>>>>>
>>>>>
>>>>>
>>>>
> ____________________________________________________________
> Water Heater
> Some like it hot. Click now for a reliable new water heater!
>
> http://thirdpartyoffers.juno.com/TGL2141/c?cp=Rh0Rbk0WuTqwN7zjDC79LQAAJ1CE1nexA7BxlOpTpVzzI1I8AAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAAGIAAAAAA=
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to