[GEM-dev] Re: GEM shader usage

B. Bogart ben at ekran.org
Thu Oct 20 20:26:14 CEST 2005


Hi James,

Seems to me having such an ability would be better in Pd general that just
in Gem. Seems more modular to use an external... One would have the
trouble of typing a shader program in a message box, but that is there
right, and it could be interesting if the shader code came from a socket
or some more interesting source than the PD gui itself...

As for [entry] there is no scolling... I've never done scrolling on a
widget in a canvas but it should be possible. Is it always visible or only
when the contents are larger than the widget?

developing entry into a full on text editor would be pretty neat... How
about extending Gems text class to do multiple font, multiple colour,
multiple point size "text block" objects. ;) Underlined portions for
example...

Could also be used to do crazy stuff like edit the text content of an
abstraction from within PD.. (yes I have needed to do this once and a
while..) search & replace etc.. Ok I'm getting crazy now, Maybe its silly
and we should just use an external editor to change shader programs...

b.

b.


> On Oct 20, 2005, at 2:56 AM, IOhannes m zmoelnig wrote:
>> just to stress my opinion again: i think think this should be done but
>> it should be done not within the shader-objects itself but rather in a
>> wrapper (-abstraction,...)
>> editing and running a program are really to different things, even
>> though the workflows are closely related.
>>
>> but i admit that i might be a bit conservative in my views.
>
> ...I understand, and it's true that a generalized solution would
> benefit pd more broadly...but it also introduces a new dependency,
> unless we put the editor object/abstraction into gem (or even pd or
> zexy) proper...I just think it's seductive to put a editor class in
> gem's program or text objects and inherit it, but that's just a
> narrow view and wouldn't help others that want text editing but don't
> care about gpu programming...
>
>>> that would open a text widget window, perhaps even on the canvas
>>> like
>>> ben's [entry]...speaking of which, I checked that out briefly,
>>> and it
>>> seems pretty nice, but I couldn't get it to print any output  on
>>> bang...time to look at the code...
>>
>> i think i have a hacked version around, that was able to handle
>> linebreaks better and probably had some other bug-fixes.
>> time to search
>
> ...yeh, and like ben said, it's broken under 0.39+ apparently...I
> wonder if it's scrollable, too?
>
> jamie
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>






More information about the GEM-dev mailing list