On Mon, 2010-09-20 at 15:56 -0400, Erick Pérez wrote: > Hi: > > I'm starting with clutter and i needed to write new actors for it, so > i followed the tutorial in clutter cookbook and. > So the situation is: > I made myself then an star, a five points start, and the difference > between the both is that the triangle of the sample has the border > more 'cute', sharper than the star, when i tweak the triangle so the > angle not been 45 degrees the looks ugly, just as the star, > Anyone know why is this happening...
yes: Cogl path API does not support anti-aliasing. the GNOME Shell, and the GNOME games that use Clutter, also use Cairo for high quality 2D drawing. the ClutterCairoTexture is an actor that allows you to draw on a ClutterTexture using Cairo. the drawing is not going through the hardware acceleration, though. you can also use shaders and vertex buffers to draw with anti-aliasing using Cogl directly, but that might be slightly more complex than you might want to. also, at some point, Cairo will have a Cogl backend - which means that fast, high quality drawing will be possible. ciao, Emmanuele. -- Emmanuele Bassi, Open Source Software Engineer Intel Open Source Technology Center _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
