Hi,
I've made an abstraction with a gop for the user to see an image as a GUI. (with [image] from ggee) I've put this abstraction in my personnal library (which is in Pd path) but when I load the abs in a new patch the image doesn't appear. I imagine it's about the path because if I open the abs, the image is here...
Did I miss something ? Do you know a way to do what I want... ?
Thanks
01ivier Ubuntu 10.04 / 0.42.5-extended-rc4
On Thu, 24 Jun 2010, Olivier Baudu wrote:
I've made an abstraction with a gop for the user to see an image as a GUI. (with [image] from ggee) I've put this abstraction in my personnal library (which is in Pd path) but when I load the abs in a new patch the image doesn't appear. I imagine it's about the path because if I open the abs, the image is here... Did I miss something ? Do you know a way to do what I want... ?
Le problème avec [image] de ggee/gui, c'est que la « boîte des bornes » (getrect) de l'objet va anormalement PAS avec les vraies bornes de l'image, et t'es supposé voir ça en essayant de sélectionner l'objet. Cette différence, ainsi que l'ancrage centré (le point zéro de l'objet est au milieu de l'image !!!), m'ont ensemble assez emmerdé pour que je décide de choisir d'utiliser autre chose qu'[image].
Les bornes données par "getrect" (telles que visibles dans une sélection affichée normalement) sont celles utilisées pour déterminer si un objet doit être visible dans un GOP ou non... donc, fais attention.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
Thanks Mathieu...
I've already notice those strange comportment... What is stanger is that if I open a test.pd (with my abs inside) from my library, I can see the image but if I open the same test.pd from my desktop my abs appear without the image... (even if my gop is 600x600).
You said you chose an other way... Could you, please, tell me what it is ?
Thanks
01ivier
Le 24 juin 2010 19:06, Mathieu Bouchard matju@artengine.ca a écrit :
On Thu, 24 Jun 2010, Olivier Baudu wrote:
I've made an abstraction with a gop for the user to see an image as a GUI.
(with [image] from ggee) I've put this abstraction in my personnal library (which is in Pd path) but when I load the abs in a new patch the image doesn't appear. I imagine it's about the path because if I open the abs, the image is here... Did I miss something ? Do you know a way to do what I want... ?
Le problème avec [image] de ggee/gui, c'est que la « boîte des bornes » (getrect) de l'objet va anormalement PAS avec les vraies bornes de l'image, et t'es supposé voir ça en essayant de sélectionner l'objet. Cette différence, ainsi que l'ancrage centré (le point zéro de l'objet est au milieu de l'image !!!), m'ont ensemble assez emmerdé pour que je décide de choisir d'utiliser autre chose qu'[image].
Les bornes données par "getrect" (telles que visibles dans une sélection affichée normalement) sont celles utilisées pour déterminer si un objet doit être visible dans un GOP ou non... donc, fais attention.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On Thu, 24 Jun 2010, Olivier Baudu wrote:
You said you chose an other way... Could you, please, tell me what it is ?
[#see]
en fait,
[#see, margins 0 0 0 0]
pour qu'on voie pas la bordure de l'objet.
Mais c'est pas dans pd-extended, il faut télécharger de http://gridflow.ca/
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
Thank you Mathieu...
Thought I'm not sure it's gonna help me with my problem I've tried to use [# see]. I've install GridFlow "9.9" on my Ubuntu Lucid following the instructiona and add the library to the Pd path. But, obviously, I miss a lot of abstractions... including [# see]... Maybe it's not my level
It's possible that my en
Le 24 juin 2010 19:30, Mathieu Bouchard matju@artengine.ca a écrit :
On Thu, 24 Jun 2010, Olivier Baudu wrote:
You said you chose an other way...
Could you, please, tell me what it is ?
[#see]
en fait,
[#see, margins 0 0 0 0]
pour qu'on voie pas la bordure de l'objet.
Mais c'est pas dans pd-extended, il faut télécharger de http://gridflow.ca/
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
Sorry... I've send the massage too early.
It's possible that my English is not enough good to be understood. So I'm gonna try to explain my problem in an other way.
If I open an abstraction with a patch saved in the same folder as this abstraction I can see through the "Graph on parent" the image I've put inside. But if I open the same patch from my desktop, calling the same abstraction (from my library), I can load the abstraction but without the image.
Is it clearer ?
Sorry if it's fuzzy...
01ivier
2010/6/25 Olivier Baudu lamouraupeuple@gmail.com
Thank you Mathieu...
Thought I'm not sure it's gonna help me with my problem I've tried to use [# see]. I've install GridFlow "9.9" on my Ubuntu Lucid following the instructiona and add the library to the Pd path. But, obviously, I miss a lot of abstractions... including [# see]... Maybe it's not my level
It's possible that my en
Le 24 juin 2010 19:30, Mathieu Bouchard matju@artengine.ca a écrit :
On Thu, 24 Jun 2010, Olivier Baudu wrote:
You said you chose an other way...
Could you, please, tell me what it is ?
[#see]
en fait,
[#see, margins 0 0 0 0]
pour qu'on voie pas la bordure de l'objet.
Mais c'est pas dans pd-extended, il faut télécharger de http://gridflow.ca/
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
Olivier,
I know what you mean... I don't know if there's another solution for this. I usually copy the image to every folder that uses those abstractions (with |image|). It's not very smart, but...
....
Eduardo
Eduardo Patrício http://www.eduardopatricio.com.br (41) 8434-0480
De: Olivier Baudu lamouraupeuple@gmail.com Para: Mathieu Bouchard matju@artengine.ca Cc: pd list pd-list@iem.at Enviadas: Sexta-feira, 25 de Junho de 2010 13:24:51 Assunto: Re: [PD] Insert an image with gop in an abstraction in a library
Sorry... I've send the massage too early.
It's possible that my English is not enough good to be understood. So I'm gonna try to explain my problem in an other way.
If I open an abstraction with a patch saved in the same folder as this abstraction I can see through the "Graph on parent" the image I've put inside. But if I open the same patch from my desktop, calling the same abstraction (from my library), I can load the abstraction but without the image.
Is it clearer ?
Sorry if it's fuzzy...
01ivier
2010/6/25 Olivier Baudu lamouraupeuple@gmail.com
Thank you Mathieu...
Thought I'm not sure it's gonna help me with my problem I've tried to use [# see]. I've install GridFlow "9.9" on my Ubuntu Lucid following the instructiona and add the library to the Pd path.
But, obviously, I miss a lot of abstractions... including [# see]... Maybe it's not my level
It's possible that my en
Le 24 juin 2010 19:30, Mathieu Bouchard matju@artengine.ca a écrit :
On Thu, 24 Jun 2010, Olivier Baudu wrote:
You said you chose an other way...
Could you, please, tell me what it is ?
[#see]
en fait,
[#see, margins 0 0 0 0]
pour qu'on voie pas la bordure de l'objet.
Mais c'est pas dans pd-extended, il faut télécharger de http://gridflow.ca/
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On Fri, 25 Jun 2010, Eduardo Patricio wrote:
I know what you mean... I don't know if there's another solution for this. I usually copy the image to every folder that uses those abstractions (with |image|). It's not very smart, but...
This is what [gf/find_file] is for. It goes with my policy of allowing abstractions to act like externals in whatever situation I encounter. I don't apply the policy all of the time, but it has to be more often than I see it in other people's externals.
IMHO, one of the most memorable moments of the 1st international convention (2004), is the few minutes during which several of us said that abstractions should be able to do the same things as externals. However, it's hard to reach any kind of consensus, and so, in reality, this idea took a long time to germinate and the torch is carried by rather few people.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
De: Mathieu Bouchard matju@artengine.ca Para: Eduardo Patricio epatricio@yahoo.com Cc: pd list pd-list@iem.at Enviadas: Sexta-feira, 25 de Junho de 2010 14:50:19 Assunto: Re: [PD] Res: Insert an image with gop in an abstraction in a library
On Fri, 25 Jun 2010, Eduardo Patricio wrote:
I know what you mean... I don't know if there's another solution for this. I usually copy the image to every folder that uses those abstractions (with |image|). It's not very smart, but...
This is what [gf/find_file] is for. It goes with my policy of allowing abstractions to act like externals in whatever situation I encounter. I don't apply the policy all of the time, but it has to be more often than I see it in other people's externals.
IMHO, one of the most memorable moments of the 1st international convention (2004), is the few minutes during which several of us said that abstractions should be able to do the same things as externals. However, it's hard to reach any kind of consensus, and so, in reality, this idea took a long time to germinate and the torch is carried by rather few people.
I see... that's one of the motives why I like Grid Flow
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On Fri, 25 Jun 2010, Eduardo Patricio wrote:
IMHO, one of the most memorable moments of the 1st international convention (2004), is the few minutes during which several of us said that abstractions should be able to do the same things as externals. However, it's hard to reach any kind of consensus, and so, in reality, this idea took a long time to germinate and the torch is carried by rather few people.
I see... that's one of the motives why I like Grid Flow
You may also enjoy the iemguts library, as long as you ignore the signs that say "RADIOACTIVE MATERIAL KEEP OUT" and "DANGER 735000 VOLTS" and "BEWARE OF THE LEOPARD". It has quite a few externals for empowering abstractions. Actually, a handful of GridFlow externals are semi-accidental duplicates of IEMGuts externals.
You may also enjoy the fact that Gamelan Binomial's score is completely handled through GridFlow. There's a huge score in a [#store] and I play a small part of it.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On Fri, Jun 25, 2010 at 7:12 PM, Eduardo Patricio epatricio@yahoo.comwrote:
Olivier,
I know what you mean... I don't know if there's another solution for this. I usually copy the image to every folder that uses those abstractions (with |image|). It's not very smart, but...
....
Eduardo
Try something like this:
[loadbang] [symbol myfile.name( [moonlib/absolutepath] [open $1( [ggee/image]
Andras
Thanks Andras,
Your solution works !!
Mathieu, je am sure que your solution fonctionne too,
2010/6/25 András Murányi muranyia@gmail.com
On Fri, Jun 25, 2010 at 7:12 PM, Eduardo Patricio epatricio@yahoo.comwrote:
Olivier,
I know what you mean... I don't know if there's another solution for this. I usually copy the image to every folder that uses those abstractions (with |image|). It's not very smart, but...
....
Eduardo
Try something like this:
[loadbang] [symbol myfile.name( [moonlib/absolutepath] [open $1( [ggee/image]
Andras
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
... ... Sorry... sure, I have to lean how to use my mailer... :-/
So, I said : Mathieu, je am sure que your solution fonctionne too, but je vais wait d'avoir more temps to me pencher on it... Thank for all the explanations. They will be useful at this time.
Thanks to all of you.
01ivier
2010/6/25 Olivier Baudu lamouraupeuple@gmail.com
Thanks Andras,
Your solution works !!
Mathieu, je am sure que your solution fonctionne too,
2010/6/25 András Murányi muranyia@gmail.com
On Fri, Jun 25, 2010 at 7:12 PM, Eduardo Patricio epatricio@yahoo.comwrote:
Olivier,
I know what you mean... I don't know if there's another solution for this. I usually copy the image to every folder that uses those abstractions (with |image|). It's not very smart, but...
....
Eduardo
Try something like this:
[loadbang] [symbol myfile.name( [moonlib/absolutepath] [open $1( [ggee/image]
Andras
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Fri, 25 Jun 2010, Olivier Baudu wrote:
It's possible that my English is not enough good to be understood. So I'm gonna try to explain my problem in an other way.
Ouais, je connais une autre manière d'expliquer ton problème, et c'est en français. C'est pas juste ta langue maternelle, c'est aussi la mienne, et c'est celle de plein de gens sur pd-list. Cela dit, écrire en français réduit quand même le nombre de gens qui peuvent te lire, à condition qu'ils refusent catégoriquement d'utiliser un traducteur automatique.
If I open an abstraction with a patch saved in the same folder as this abstraction I can see through the "Graph on parent" the image I've put inside. But if I open the same patch from my desktop, calling the same abstraction (from my library), I can load the abstraction but without the image.
If you pass an image filename to an abstraction that uses [#in], you have to change the perspective of [#in]. For this reason, a component has been abstracted-out from [#in], that is called [gf/find_file], for which the (mandatory) argument is about how many levels of nested abstractions you are away from the home place of the path you want to use. So, if the filename is relative to the patch that contains the patch that must use [#in], you are one level away from the context, and you use [gf/find_file 1], where "1" as an argument means one level away.
This feature only exists in GridFlow, not in GEM nor GGEE. This means that if you want to support in your abstraction the relative path context that [pix_film] supports, you're screwed because you're not writing an external. [gf/find_file] can also be used together with GEM and GGEE in order to break that limitation of GEM and GGEE.
Is it clearer ?
Well, you still didn't post any error messages, etc., but I sort of guessed... was my guess right ?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
On Fri, 25 Jun 2010, Olivier Baudu wrote:
Thought I'm not sure it's gonna help me with my problem I've tried to use [# see].
There's a big difference between putting a space after "#" and not putting a space. When one writes [# +], then "#" is the class name, and "+" is an argument ! This kind of argument is called a numop, and the same set of numops pops up in a bunch of different classes. It's thus much more flexible than having a class [#+] separate from [#-] and [#*] and so on, because then you can have [#draw_polygon +], [#draw_polygon -], and so on, where "#draw_polygon" is the class, and the type of compositing is an argument.
However, "see" is not a numop (NUMeric OPerator) in any way, so, it's actually part of a class name.
Spaces are ultra important, as they separate the classname from the $1, and that can happen anywhere in the use of pd, though you'd notice it more in GridFlow because of how GridFlow shifts some concept from "classness" or "argumentness".
I've install GridFlow "9.9" on my Ubuntu Lucid following the instructiona and add the library to the Pd path. But, obviously, I miss a lot of abstractions... including [# see]...
[#see] is not an abstraction, it's an external.
Do you have error messages in the console at load time ?
I think that the exact names of every class are all written in the GridFlow Index, that you can find in the Help menu of Pd. From the GridFlow Index you'd do Right-Click Help if on an object itself, or plain Left-Click if it's only a link to the help file (links are underlined, soft borders, and a bright question mark).
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801