Hi,
Its been a little while since I am trying to _add_ a color to a pix. Is there a way to do so ? The thing is that if I put a colored rectangle over a pix_textured reactangle, it kind of desaturate the picture.
I know such a thing is much easy in Gridflow, but I got to use Gem on OSX for this time again. If it is the only, though, I might try to compile Gridflow with its new export_pix and import_pix on OSX...
aalex
Do you want to do something like add more red to an image? pix_gain will multiply each channel (R G B or Y U V) by a coefficient and pix_offset will add to the channel. You can also try the colorRGB object to modulate the color value in hardware, but the coefficients are limited to 0..1.
On 3/7/06, Alexandre Quessy listes@sourcelibre.com wrote:
Hi,
Its been a little while since I am trying to _add_ a color to a pix. Is there a way to do so ? The thing is that if I put a colored rectangle over a pix_textured reactangle, it kind of desaturate the picture.
I know such a thing is much easy in Gridflow, but I got to use Gem on OSX for this time again. If it is the only, though, I might try to compile Gridflow with its new export_pix and import_pix on OSX...
aalex
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi Thomas, hi list,
I was wondering if it could be possible to launch a text editor when double-clicking on a pyext object? I must admit i have no idea how complicated it can be but i think it could be a nice way to simplify first approach to this wonderful extension (for building tutorials e.g.). It could also be useful for debugging purpose or when revising old patches.
As text editors for Python, which supports syntax coloring/highlighting and indentation i can think of:
there are plenty listed at: http://wiki.python.org/moin/PythonEditors may be it would be best if we could simply integrate a simple editor written in tcl/tk.
it might be interesting for other scripting languages too, like ruby.
best regards, vincent
Hi Vincent, this is already implemented. It's not double-click, but shift-click ;-)
greetings, Thomas
Am 08.03.2006 um 09:09 schrieb vincent rioux:
hi Thomas, hi list,
I was wondering if it could be possible to launch a text editor when double-clicking on a pyext object? I must admit i have no idea how complicated it can be but i think it could be a nice way to simplify first approach to this wonderful extension (for building tutorials e.g.). It could also be useful for debugging purpose or when revising old patches.
As text editors for Python, which supports syntax coloring/highlighting and indentation i can think of:
- scite (scintilla) : light and straightforward (linux and windows)
- subethaedit : osx
- emacs/emacsclient : best in my opinion but learning curve is tough.
- vim or cream : i don't use them so i can't tell.
there are plenty listed at: http://wiki.python.org/moin/PythonEditors may be it would be best if we could simply integrate a simple editor written in tcl/tk.
it might be interesting for other scripting languages too, like ruby.
best regards, vincent
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I was wondering if it could be possible to launch a text editor when double-clicking on a pyext object?
not when double-clicking, but with shift-click ... on linux it's using the value from the EDITOR environment variable... but it's a pretty new feature, so you might have to update pyext ...
tim
-- TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww! Jack Kerouac
On Mar 8, 2006, at 12:36 AM, chris clepper wrote:
Do you want to do something like add more red to an image?
pix_gain will multiply each channel (R G B or Y U V) by a
coefficient and pix_offset will add to the channel. You can also
try the colorRGB object to modulate the color value in hardware,
but the coefficients are limited to 0..1.
...GL_MODULATE is the standard texture mode in gem: I added
switchable options via an [env $1< sent to [pix_texture] to cvs last
week, so now you can also switch texture environment mode to GL_ADD,
GL_BLEND, or GL_COMBINE, too...there's also an updated help patch in
gem's cvs that shows this in action...
On 3/7/06, Alexandre Quessy listes@sourcelibre.com wrote: Hi,
Its been a little while since I am trying to _add_ a color to a
pix. Is there a way to do so ? The thing is that if I put a colored rectangle over a pix_textured reactangle, it kind of desaturate the picture.
...the benefit of the [env $1< is that all processing takes place on
the gpu (ie. no extra cpu cost) ;-)
I know such a thing is much easy in Gridflow, but I got to use Gem on OSX for this time again. If it is the only, though, I might try to compile Gridflow with its new export_pix and import_pix on OSX...
...yeh, time for us all to try that!
james
On Mar 8, 2006, at 12:36 AM, chris clepper wrote:
Do you want to do something like add more red to an image? pix_gain will multiply each channel (R G B or Y U V) by a coefficient and pix_offset will add to the channel. You can also try the colorRGB object to modulate the color value in hardware, but the coefficients are limited to 0..1.
james tittle a écrit :
...the benefit of the [env $1< is that all processing takes place on the gpu (ie. no extra cpu cost) ;-)
Thank you guys for these advices. It seems like pix_levels is all right too. Is this as expansive on the CPU as pix_offset ? Anyways, I can't use pix_offset because the values aren't clipped. I think pix_gain is the way to go before this CVS goodie make its way to the pd-extended. :-)