-----Original Message----- From: Miller Puckette [mailto:mpuckett@man104-1.ucsd.edu] Subject: Re: gem performance under linux
My own plan is to run Pd and "pd-gui" on different machines. (There's a "-guicmd" flag in Pd in which you could specify, for example, "ssh next-door pd-gui". This could also be of use for people wanting to run Pd on embedded processors!)
I normally do this with two instances of Pd running...one for audio, one for graphics. I just connect via netsend/receive.
The only thing I haven't figured out yet is how to tell Gem to render to the "root" window on the local machine (while Pd-gui is drawing on the other machine's display). I bet it's easy but I have to learn about the X window system's window-finding-and-specifying hooks; then I have to modify the "gemwin" object to write to an existing window instead of creating a new one. Sounds easy, right?
Shouldn't be too difficult. I used to do tricks like this all the time on SGIs.
Later, Mark
============================ = mdanks@stormfront.com = Lead Programmer PS2 = http://www.danks.org/mark ============================
i'm just starting to look at the data-structures stuff, so i apologise if any of this is nonsensical.
is there a way to 'select' the empty pointer? (that is, detect that the pointer you are being sent is empty.. and then avoid handing it into a get/set object).
is there a way to determine if a list is empty? i'd like to implement a kind of circular list by sending the rightmost output of the pointer object into a "traverse ..., next" object, without having it freak out if the list is empty.
is there an object for removing a pointer from a list? in the wame way you can append one, without opening the data window in edit mode and manually selecting/deleting it.
pix.
Hi all,
To find out if a list is empty, set a pointer to it and send it "next". You'll either get an object out the left (which you can convert to "bang" with a "t b" object) or one out the right if there are no more.
There's no way to remove a single object from a list; all you can do is clear the whole thing out. This is because of the way I'm protecting against stale pointers...
cheers Miller
On Thu, Jan 04, 2001 at 11:11:41PM +1030, pix@test.at wrote:
i'm just starting to look at the data-structures stuff, so i apologise if any of this is nonsensical.
is there a way to 'select' the empty pointer? (that is, detect that the pointer you are being sent is empty.. and then avoid handing it into a get/set object).
is there a way to determine if a list is empty? i'd like to implement a kind of circular list by sending the rightmost output of the pointer object into a "traverse ..., next" object, without having it freak out if the list is empty.
is there an object for removing a pointer from a list? in the wame way you can append one, without opening the data window in edit mode and manually selecting/deleting it.
pix.