Hi,


It did work, using only depth instead of the lower and raiser functions.

The amount of units used between the face and the back of the card is
important too if I use a value lesser than

CLUTTER_UNITS_FROM_FLOAT (0.1)

then I got the flickering, but the amount passed above is enough and
adds a nice depth 3D effect to the card.

Congratulations, Clutter is the perfect API for my application.


Pedro Casagrande

2008/2/25, Matthew Allum <[EMAIL PROTECTED]>:
>
>  On Mon, 2008-02-25 at 18:01 -0300, Pedro Casagrande de Campos wrote:
>  >
>  > First I want to thanks for the help on my last message, unfortunately
>  > it didn't solved my problem completely.
>  >
>  > When subclassing ClutterGroup and enabling the depth test I got a
>  > flickering which will reveal both sides of the card during the
>  > animation (tested on i915 and NV34).
>
>
> Try setting the depth of the back one by a very tiny (non visible)
>  amount (i.e use the units api) behind the front one. That *should* do
>  it.
>
>   == Matthew
>
>
>
>
>  --
>  To unsubscribe send a mail to [EMAIL PROTECTED]
>
>
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to