OK, turns out that the zPosition property of the layers is important here. I
was setting them to values like 100, and -100. That turns out to be way too
small - the perspective/rotation transform I was applying to the 'behind'
layers was swinging these layers into a zPosition that greatly
On Jul 26, 2011, at 7:13 AM, Graham Cox graham@bigpond.com wrote:
Anyway, what I've learned is that the z values need to be big, and probably
not terribly precise.
David Duncan's post in this thread seems relevant:
On Jul 26, 2011, at 7:50 AM, Kyle Sluder wrote:
From the description given in the documentation, I would think that because
CA is sorting the layers based on sibling order and zPosition that it would
be possible to render a layer of zPosition=0 atop a nephew layer with
zPosition=1000.
On Tue, Jul 26, 2011 at 10:51 AM, David Duncan david.dun...@apple.com wrote:
Except for certain situations, Core Animation effectively treats each layer
as a rendering target – that is, all of that layer's sublayers are flattened
into that layer to produce the final image for that layer.
Hi All,
I'm having a problem establishing the right Z-ordering of Core Animation layers
in a view. I've tried carefully controlling the stacking order of the view's
sublayers, and I've also tried setting the zPosition property, but the problem
I'm having remains.
Here's a screen shot: