On Thu, 2010-07-15 at 12:24 +0100, donn wrote: > On 15/07/2010 13:11, Emmanuele Bassi wrote: > > opacity does not work that way; opacity is always composited along with > > the scene graph. if the parent is set to full_opacity / 2, all of its > > children will follow. > Okay, I see : setting the opacity down the tree makes a top-limit on all > future opacities, but they can go downwards. > > I'd like to be able to 'dim' everything in a given Group, and then > 'focus/saturate/pick-out' a particular node. It does not have to involve > opacity, I'd rather it were a kind of 'wash-out' effect, like a colour tint. >
You could try one of the ClutterShaderEffects on it, which might give you what you want (though they're only in the 1.4 API). As Emmanuele says, it's not possible to override opacity for a child when you've set it on the parent group. But another approach you could try (not sure if Emmanuele or someone else could suggest an alternative which is more efficient) is to individually apply the right opacity to each child (using ClutterGroup.foreach or similar), rather than to the group as a whole. Or (again, these are ways I've considered, so I could do with some pointers too :) ), you could perhaps reparent the "odd actors out" to a different group temporarily, and apply a different opacity to that group. Hope this helps. Elliot -- Elliot Smith Intel Open Source Technology Centre --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
