Re: [clutter] Lots of questions: GstVideoTexture cloning, strange rotation, offscreen rendering to onscreen displaying, more gobject signals...

2007-08-21 Thread Bastian Winkler
On Tue, Aug 21, 2007 at 03:18:43PM +0100, iain wrote: On Tue, 2007-08-21 at 16:10 +0200, Florent THIERY wrote: * to modify a gst pipeline without stopping/restarting it (ex: adding warptv effect without interruption) You'd have to create a pipeline yourself and use ClutterGstVideoSink

Re: [clutter] Problem with clutter_label, floating point exception

2008-01-16 Thread Bastian Winkler
On Wed, Jan 16, 2008 at 11:55:13AM +, Emmanuele Bassi wrote: On Wed, 2008-01-16 at 11:46 +, Emmanuele Bassi wrote: I am using the latest trunk version of clutter (I did a fresh Linux install on new laptop). Somehow clutter_label causes any clutter program to crash. For

[clutter] debian package build-depends

2008-02-19 Thread Bastian Winkler
Hi, is there a special reason why the clutter debian package has libgl1-mesa-dev in it's Build-Depends and Depends (libclutter-0.x-dev)? I think it would be enough to set the dependency to libgl-dev, which is provided by libgl1-mesa-dev as well as the nvidia-glx-dev package. Changing this would

Re: [clutter] debian package build-depends

2008-02-19 Thread Bastian Winkler
On Tue, Feb 19, 2008 at 04:39:06PM +, Ross Burton wrote: I do with that there would be a standardised set of GL headers... I presume that a clutter built with nvidia headers still runs everywhere? I think so. At least my 0.6 packages built with the nvidia headers also run on my mesa-dri

[clutter] pyclutter cluttergst segfaults since r3205

2008-08-01 Thread Bastian Winkler
Hi Emmanuele, as a short note, since the latest changes to pyclutter introduced in svn r3205 importing the integration libraries segfaults with cluttergst and cluttergtk. Importing cluttercairo works as expected. This affects x86_64 with nvidia as well as i386 with intel. So long :wq buz --

Re: [clutter] pyclutter cluttergst segfaults since r3205

2008-08-01 Thread Bastian Winkler
+0100, Emmanuele Bassi wrote: On Fri, 2008-08-01 at 15:30 +0200, Bastian Winkler wrote: if you mean that event after the changes your application segfaults, then a backtrace would be fantastic. A backtrace of 'import cluttergst' is attached... mmh, interesting. it seems you're getting

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Bastian Winkler
On Tue, Oct 14, 2008 at 04:03:58PM +0100, Emmanuele Bassi wrote: don't. if you really need, use the set_from_rgb_data() method with the various values from GdkPixbuf: there's a direct mapping from what's required from ClutterTexture (width, height, rowstride, alpha channel and pixel data) to

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Bastian Winkler
hi, you can try this: pb = gdk.pixbuf_new_from_file(redhand.png) if pb.props.has_alpha: bpp = 4 else: bpp = 3 tex = clutter.Texture() tex.set_from_rgb_data( pb.get_pixels(), pb.props.has_alpha, pb.props.width, pb.props.height,

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-15 Thread Bastian Winkler
On Tue, Oct 14, 2008 at 08:34:55PM +0100, Emmanuele Bassi wrote: I'd really, *really* don't want to have GdkPixbufLoader functionality in Clutter: it would be useless replication. you can already use the loader API by simply including gdk-pixbuf.h and compiling against libgdkpixbuf; the code

[clutter] timeline markers on frame 0

2008-11-14 Thread Bastian Winkler
hi developers, when adding a marker to a ClutterTimeline on frame 0, the marker signal will never be emitted. Is this an intended behaviour? :wq buz -- GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82 signature.asc Description: Digital signature

Re: [clutter] pyclutter revision 3576

2008-12-09 Thread Bastian Winkler
On Tue, Dec 09, 2008 at 10:26:05AM +, Emmanuele Bassi wrote: On Tue, 2008-12-09 at 09:12 +0100, Bastian Winkler wrote: using floating point values for sub-pixel precision is IMHO a very good thing, thank you. thanks. I would have preferred to get this kind of feedback during 0.7

[clutter] pyclutter webkit bindings

2008-12-12 Thread Bastian Winkler
Hi all, I just created some fresh pyclutter-webkit bindings. They are pretty feature-complete, but not well tested. Would be nice if anybody could give them a try and report bugs. For more information see http://bugzilla.openedhand.com/show_bug.cgi?id=887 so long :wq buz -- GnuPG Fingerprint:

Re: [clutter] Slow video playback with Clutter and Intel GMA950

2009-01-08 Thread Bastian Winkler
Hi Tero, the problem might be caused by the expensive colorspace conversion from YUV to RGB done in software. If you GPU supports shaders (check CLUTTER_FEATURE_SHADERS_GLSL for this) you can use them to do the colorspace conversion by setting the :use-shaders property on your

Re: [clutter] Slow video playback with Clutter and Intel GMA950

2009-01-08 Thread Bastian Winkler
On Thu, Jan 08, 2009 at 02:59:03PM +0200, Tero Saarni wrote: With the pipeline below it really seems to take all CPU and is just as slow as with Clutter. I suppose videoscale adds some extra overhead too (besides colorspace conversion) that isn't done in software when using

Re: [clutter] ClutterGstVIdeoTexture problems

2009-01-08 Thread Bastian Winkler
Hi, On Thu, Jan 08, 2009 at 04:32:47PM +0100, Stéphane Esté-Gracias wrote: 1) When I'm using transition effects, video playing freezes during some transitions. Actors are Clutter::Texture from files and Effect is move. Try disabling VBLANK by setting the environment variable

Re: [clutter] clutter-gst video-player.

2009-01-22 Thread Bastian Winkler
On Thu, Jan 22, 2009 at 11:33:06AM -0500, Jason Tackaberry wrote: On Thu, 2009-01-22 at 16:52 +0800, Rob Kramer wrote: When playing with the video-player in clutter-gst/examples, I noticed the texture is not updated during the period that the sample effect ('e' key) animates. Is this a

Re: [clutter] clutter-gst video-player.

2009-01-22 Thread Bastian Winkler
On Thu, Jan 22, 2009 at 03:05:41PM -0500, Jason Tackaberry wrote: Which is even worse than wrong frame timing, IMHO. :) My eyes are more resistant to some optical glitches than watching a video with 0.5 frames per second... :) But at the bottom both is unacceptable. Not yet. There's some

Re: [clutter] Clipping using cogl_clip_set/cogl_clip_unset

2009-01-28 Thread Bastian Winkler
Hi, cogl.clip_set(0, 0, clutter.units_from_int(50), clutter.units_from_int(50)) should do the trick. :wq buz On Tue, Jan 27, 2009 at 04:17:16PM +0100, Thomas Steinacher wrote: Hello, The following code displays a blank stage (i.e. the image is not rendered at all). Why is this so? I'd

Re: [clutter] cogl and BehaviourOpacity + python

2009-02-12 Thread Bastian Winkler
hi, this happens because you're changing the alpha value of your _color instance on every redraw. This should give you the expected behaviour: paint_color = self._color.copy() So long :wq buz On Thu, Feb 12, 2009 at 05:08:56PM -0300, Eduardo Matus wrote: hello, I'm testing a custom actor

Re: [clutter] clutter-gst for 0.9.x and 1.x

2009-07-18 Thread Bastian Winkler
Hi, just use the clutter-gst master branch :) :wq buz On Fri, Jul 17, 2009 at 07:59:29PM -0500, Uday Verma wrote: Hi, I was wondering about the plans for clutter-gst. The present clutter-gst has dependencies on clutter-0.8 so its not directly re-usable in 0.9. If no solid plans exist,

Re: [clutter] [pyclutter] animation

2009-08-21 Thread Bastian Winkler
Hi, the answer depends on your pyclutter version. With 0.9.2 (clutter 1.0) you can do something like this: my_actor.animate(clutter.LINEAR, 500, 'x', 300.0).connect_after('completed', my_func) For behaviours you can connect to the timeline's 'completed' signal.

Re: [clutter] PyClutter Segfault with cairo textures

2009-08-30 Thread Bastian Winkler
Hi, it's fixed in master. Unfortunately I missed one HAVE_PYCAIRO check in cluttermodule.c and therefore pycairo wasn't initialized correctly. Seems like I had a config.h with HAVE_PYCAIRO defined lying around and haven't recognized this. What an awkward mistake... :wq buz As it's not so easy

Re: [clutter] pyclutter chaining animations problems

2009-08-31 Thread Bastian Winkler
Hi, you should use anim.connect_after. See http://www.clutter-project.org/docs/clutter/stable/clutter-Implicit-Animations.html#clutter-actor-animate for details so long :wq buz On Mon, Aug 31, 2009 at 03:11:09PM +0100, Karl Lattimer wrote: Hi all, I'm trying to chain together a couple of

Re: [clutter] [pyclutter] Warning during animation and some strange behavior

2009-09-04 Thread Bastian Winkler
It is a bug [1] in pygobject handling uchar properties. The only way to work around this (without patching pygobject), is by using the get/set_opacity methods. To animate the actors opacity you have to use a BehaviourOpacity instead of an implicit animation. so long :wq buz [1]

Re: [clutter] clutter_behaviour breaks gnonlinear gstreamer plugin, can anybody confirm this?

2009-11-13 Thread Bastian Winkler
Hi, calling clutter_threads_init() right before clutter_init() should fix it. :wq buz On Fri, Nov 13, 2009 at 10:05:20AM +0200, Aapo Rantalainen wrote: Hi, I have problem with clutter1.0.6 behaviours and gstreamer-gnonlinear-plugin. I think I'm using gnonlinear proper way, because it works.

Re: [clutter] problem with threads and clutter-texture from file: Failed to create COGL texture

2009-12-01 Thread Bastian Winkler
hi, clutter is already capable of loading textures in a thread: http://www.clutter-project.org/docs/clutter/stable/ClutterTexture.html#ClutterTexture--load-async you should also dig the mailing-list archives for a list of do's and dont's with threading in clutter:

Re: [clutter] is pyclutter alive?

2010-02-08 Thread Bastian Winkler
Hi there, On Sat, Feb 06, 2010 at 10:33:51AM +0100, Eric Colleu wrote: I am just starting a new pure python module based on your beautifull library ( http://code.google.com/p/pyclutter-widgets/ ). cool! BTW, there are already some pyclutter based toolkits out there: Glitter [0], Candies [1]

Re: [clutter] pyclutter groups and clip paths

2010-02-08 Thread Bastian Winkler
On Fri, Feb 05, 2010 at 07:33:51PM +0200, donn wrote: ... I suspect this will involve a custom clutter.Group class of some kind, with cogl paths and an on_paint() method, but I can find no headway on the web so far. Examples for creating custom actors and containers are in pyclutter's

Re: [clutter] pyclutter groups and clip paths [SOLVED]

2010-02-08 Thread Bastian Winkler
On Mon, Feb 08, 2010 at 08:20:27PM +0200, donn wrote: On 08/02/2010 10:25, Bastian Winkler wrote: either by adding a __gtype_name__ to your class or calling gobject.type_register(). Your 'do_paint' method should be called correctly after that. Ah, that was the magic. Many thanks. You're

Re: [clutter] Help with BehaviourPath in clutter 0.8

2010-03-03 Thread Bastian Winkler
Hi, pyclutter-0.8 is really outdated and not supported anymore. The current version is 1.0 and the upcoming 1.2 is right in front of your door. You should really update to a recent version, as there are a lot of API changes since 0.8 and even your given example won't work with 1.0! Having that

Re: [clutter] Help building pyclutter

2010-03-17 Thread Bastian Winkler
, Bastian Winkler wrote: they all live on git.clutter-project.org: git://git.clutter-project.org/bindings/pyclutter git://git.clutter-project.org/bindings/pyclutter-gst git://git.clutter-project.org/bindings/pyclutter-gtk so long :wq buz Hey, i cloned the git repo

Re: [clutter] [pyclutter] shader

2010-03-20 Thread Bastian Winkler
Hi, the usage of shaders in pyclutter is pretty much the same as in C: shader = clutter.Shader() shader.set_fragment_source(SHADER_SOURCE) shader.compile() actor.set_shader(shader) Maybe I should add an example to the pyclutter examples. (hint: file a bug for it in bugzilla ;)) so long :wq

Re: [clutter] Clutter stage transparency

2010-03-24 Thread Bastian Winkler
You also have to set the :use-alpha property http://www.clutter-project.org/docs/clutter/stable/ClutterStage.html#ClutterStage--use-alpha so long :wq buz On Wed, Mar 24, 2010 at 02:25:30PM -0700, Sean V. Kelley wrote: With Clutter 1.2.x and if you're running with a compositor engine on X11,