Thanks a lot But for some reason translate does not affect the position I am not sure I use it the right way I have uploaded my file at this adress: www.natacharoussel.com/patch27-un-ecran.zip if you have any chance to check it out and tell me what obscure thing I forgot
-----Message d'origine----- De : pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] De la part de CK Envoyé : 27 décembre 2003 07:46 À : natacha Roussel Cc : PD-list@iem.at Objet : Re: [PD] playing a video with an offset
I read:
but I want that small video on the bottom right corner of the screen (the other video still playing full screen with an alphachannel..) how can I indicate that offset???????
[translateXYZ] ?
regards,
x
Zitiere natacha Roussel natacha@natacharoussel.com:
Thanks a lot But for some reason translate does not affect the position I am not sure I use it the right way I have uploaded my file at this adress: www.natacharoussel.com/patch27-un-ecran.zip if you have any chance to check it out and tell me what obscure thing I forgot
I read:
but I want that small video on the bottom right corner of the screen (the other video still playing full screen with an alphachannel..)
how
can I indicate that offset???????
[translateXYZ] ?
hi.
since i am on holiday i don't have any access to a pd-machine (which is a shame), and i don't feel like reading patch-files with text-editors right now...
so: a) please don't use [pix_texture2], [pix_texture] should do the job. (if you have a recent enough version of gem)
b) if [translateXYZ] is not working, i guess you have put it after(!) the textured object (square, rectangle,...). put it before(!) the object (see the help for [translate]/[translateXYZ]).
btw. you can change the video-size by simply resizing the screen (the square/rectangle object). [pix_coordinate] is quite likely to not work properly with non-power-of-2 textures.
mfg.as.dr IOhannes
Thanks everyone it now works natacha
Quoting zmoelnig@iem.at:
[pix_coordinate] is quite likely to not work properly with non-power-of-2 textures.
It does work. Use 0..height and 0..width instead of the normalized 0..1 values. The only limitation lies in the lack of repeat mode for the mapping - clamp to edge is the only one supported so far.
cgc
mfg.as.dr IOhannes
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
cgc@humboldtblvd.com wrote:
Quoting zmoelnig@iem.at:
[pix_coordinate] is quite likely to not work properly with non-power-of-2 textures.
It does work. Use 0..height and 0..width instead of the normalized 0..1 values. The only limitation lies in the lack of repeat mode for the mapping - clamp to edge is the only one supported so far.
oh sorry. of course you are right with this. but in my opinion this is not really "work properly" (although it is openGL-standard) the discussion might turn out similar to the "float" vs. "int" talk @ colours.
now: what i really like about normalized values is, that they are abstracted and independent (aka: "normalized") .
short discussion of making [pix_coordinate] use normalized coordinates:
not (same point as in super-dooper-everything [pix_texture] vs. [pix_texture]/[pix_texture2])
i don't really understand why non-power-of-2 textures became such problems or rather: why implementations turned out to do it that complicated and if it was for quality's sake, why they didn't do it twice: once with normalized and once with not-normalized tex-coordinates (this is how openGL handles is anyway: provide umpteen functions for the same functionality in case someone wanted it to do it this or that way)
mfg.as.dr IOhannes
Natacha,
Are you putting two videos on the screen using two gemheads or only one?
Most flexible way to control videos on screen would be to have each video on a different gem object and move the objects around in the gemwin using translateXYZ etc..
The link in your email did not seem to work, 404.
I see your associated with concordia. Is there any interest from the the design department to do a PD workshop? (I have done a number in the past and am in Montreal often)
Anyhow good luck.
Ben www.ekran.org/ben
----- Original Message ----- From: "natacha Roussel" natacha@natacharoussel.com To: PD-list@iem.at Sent: Saturday, December 27, 2003 10:00 AM Subject: [PD] playing a video with an offset
Thanks a lot But for some reason translate does not affect the position I am not sure I use it the right way I have uploaded my file at this adress: www.natacharoussel.com/patch27-un-ecran.zip if you have any chance to check it out and tell me what obscure thing I forgot
-----Message d'origine----- De : pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] De la part de CK Envoyé : 27 décembre 2003 07:46 À : natacha Roussel Cc : PD-list@iem.at Objet : Re: [PD] playing a video with an offset
I read:
but I want that small video on the bottom right corner of the screen (the other video still playing full screen with an alphachannel..) how can I indicate that offset???????
[translateXYZ] ?
regards,
x
-- chris@lo-res.org Postmodernism is german romanticism with better http://pilot.fm/ special effects. (Jeff Keuss / via ctheory.com)
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Thomas I am having some difficulties with the python external on os x. i cannot seem to get it to compile, i tried the CVS i had and the binary that is available but it tosses and error regarding the python location.
i have python2.2, and i was going to retry the CVS but the cvs server is down??
Pat
Hi Pat,
I am having some difficulties with the python external on os x. i cannot seem to get it to compile, i tried the CVS i had and the binary that is available but it tosses and error regarding the python location.
Could you send me the exact error message? I have to admit that i could only test the compilation on Panther where Python (2.3) is installed as a framework. If you re using Jaguar, you'll have to install Python as a framework there. (this can be done with the python source tgz).
i have python2.2, and i was going to retry the CVS but the cvs server is down??
Hmmm, don't know...
best greetings, Thomas
thomas i am having an error while trying to compile xsample too.
In file included from source/main.cpp:11:
source/main.h:23:2: #error You need at least flext version 0.4.5
In file included from source/main.cpp:11:
source/main.h: In static member function static void xsample::arrscale(int, const t_sample*, t_sample*, float, float)': source/main.h:156: no method
flext::ScaleSamples'
source/main.h: In static member function static void xsample::arrmul(int, const t_sample*, t_sample*, float)': source/main.h:159: no method
flext::MulSamples'
source/main.cpp: In function void xsample_main()': source/main.cpp:17: no method
flext::post'
source/main.cpp:18: no method flext::post' source/main.cpp:19: no method
flext::post'
source/main.cpp:20: no method flext::post' source/main.cpp:21: no method
flext::post'
source/main.cpp:25: no method `flext::post'
make: *** [pd-darwin/main.o] Error 1
Hi Pat, you have to download and compile the latest flext version first.
best greetings, Thomas
----- Original Message ----- From: "Patrick Pagano" bigswift@ufl.edu To: "Patrick Pagano" bigswift@ufl.edu Cc: PD-list@iem.at Sent: Tuesday, January 06, 2004 1:16 AM Subject: Re: [PD] xsample for OS X
thomas i am having an error while trying to compile xsample too.
In file included from source/main.cpp:11: source/main.h:23:2: #error You need at least flext version 0.4.5 In file included from source/main.cpp:11: source/main.h: In static member function
static void xsample::arrscale(int, const t_sample*, t_sample*, float, float)': source/main.h:156: no method
flext::ScaleSamples' source/main.h: In static member functionstatic void xsample::arrmul(int, const t_sample*, t_sample*, float)': source/main.h:159: no method
flext::MulSamples' source/main.cpp: In functionvoid xsample_main()': source/main.cpp:17: no method
flext::post' source/main.cpp:18: no methodflext::post' source/main.cpp:19: no method
flext::post' source/main.cpp:20: no methodflext::post' source/main.cpp:21: no method
flext::post' source/main.cpp:25: no method `flext::post' make: *** [pd-darwin/main.o] Error 1
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Mon, 5 Jan 2004, B. Bogart wrote to natacha Roussel:
I see your associated with concordia. Is there any interest from the the design department to do a PD workshop? (I have done a number in the past and am in Montreal often)
Hi. I have been away from home for the last two weeks. I'm pretty sure that people from the Pd-mtl users group would be interested in such a workshop eventually. Last month I organised the first meeting of the users group in my (big) bedroom. ;-) I will call a second meeting shortly. I don't know when you'd like a workshop or when you would be in Montréal.
I have not heard of much interest in Pd in Concordia arts/design yet (from what I've heard/seen/done, it's mostly MAX and jMax), but there are a few people getting involved in Pd stuff at the UdeM compsci dept (I was invited to a talk about their own video plugin...).
Mathieu Bouchard http://artengine.ca/matju