Hello everybody, I'm trying to create a Rectangle, which has a different front and back side, so that if you turn it, you DON'T see the mirrored front-side but the back-side. I'm using python with pygobject. i've been trying this for several hours and couldn't find any solution. what i tried was:
1. have two rectangles with very small depth(z)-distance, rotating both in sync. i didn't manage to get one rectangle in front of the other one. 2. add front- and back-side of the page to a Clutter.Box with Clutter.BinLayout. this also made it look the same on both sides. 3. make use of a Clutter.DeformEffect which actually has a method "set_background_material()" that sounds promising. I pasted part of my code here: http://paste.ubuntu.com/953747/ but this approach doesn't work either, i get an error about the cogl material and if i change the order of the statements the program segfaults. what am i doing wrong? there must be an easier way! i would really appreciate your help cause it seems i won't succeed on my own! (the docs for pygobject + clutter seem rare) moritz _______________________________________________ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutter-app-devel-list