[PD] drawing off screen with plain pd?

Orm Finnendahl finnendahl at folkwang-hochschule.de
Wed Feb 12 12:02:52 CET 2003


Hi,

I'm using the pd structs and drawpolygon and get nasty flickering when
intersecting objects of different colors are redrawn periodically as
they're always redrawn on top of each other. In order to prevent that
I'd like to either

- put an opaque canvas (maybe in a subpatcher) on top of it until all
  objects are redrawn and then clear the canvas.

- have an option like "visible/invisible" for a canvas which has the
  "graph on parent" enabled.

- use any other method making it possible to redraw off-screen and
  then throw the completed image on the screen.

The opaque canvas method doesn't seem to work as new objects even in a
canvas below the opaque canvas will get redrawn on top of it.

The second method might work alsa by disabling/reenabling the "graph
on parent" feature, but that seems a little dirty (and I don't really
know how to access this).

Any ideas?

--
Orm

P.S.: Don't suggest to do it with gem. The overhead is tremendous and
it wouldn't work realtime.




More information about the Pd-list mailing list