Hi Owen, On 13/12/10 18:24, Owen Taylor wrote: > * Switch the stage over to an orthogonal transformation. Other than > maybe actually wanting perspective effects for something in the > future the only disadvantage I know of is that (last I checked) > there is no API in Clutter to do this and you have to resort to bad > hacks like connecting to ::paint on the stage.
I suspect you will eventually want a non-orthogonal perspective for some effects, but regardless I think it would make sense to have an API in Clutter to switch to an orthogonal transform, there might be other applications where that could be desirable. > * Make the Window actor (a custom actor) munge the x/y coordinates > when painting with Cogl so after the perspective transform the x/y > coordinates are the same independent of Z. IIRC the depth test is quite sensitive; even if the z coordinate in the window stack varies by as little as 0.05 pixel this should be enough to reduce the overdraw, but the difference should not have any real impact on the appearance of the windows in the x,y plane even with a stack of 8 windows or so. Tomas _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
