Re: [PD] some GEM questions, shaders anyone ? ...
Hi Oliver, Perhaps useful if you haven't seen this thread already: (I think a few more in archives too) http://thread.gmane.org/gmane.comp.multimedia.puredata.general/81617 Regards, Julian On 15 April 2017 at 14:36, oliver wrote: > hi, people ! > > some update on the subject: > > i looked around and found this GEM-shader dedicated github-space: > > https://github.com/mxa/glsl > > bingo ! all of those patches worked alright ! > > > more important for anybody interested: it contains a very useful > abstraction called "pix_shader.pd" which makes working with glsl shaders > much easier ! > > cyrille henry wrote: > > can you open the shader file on a windows text editor? >> I never had this kind of error. >> > > IOhannes wrote: > > i can think of two possible problems: > - line endings (CRLF vs LF) > - paths with spaces > > i think i can rule out the latter - i have PD on running as a "standalone" > application on an extra partition with no-space paths. plus all other files > (images etc.) that are called with an "open" message in the GEM glsl > example patches load alright > > i will give messing around with line endings a try > > How to develop shader is not specific to GEM, and you'll file billions >> of website dedicated to glsl. >> > > well, as i said i didn't find too many ... > > the good thing about the aforementioned site is, that it contains not only > the glsl shaders but also PD-patches to dig deeper into the glsl > functions/code. > > thanks for all replys, already helped a lot ! > > > > again, a call to the list: > > a dedicated place that holds a collection of glsl shaders/examples > optimized for GEM (i.e. with help patches) would be great, and i think the > puredata.info/downloads section would be a good place to hold it. > > if you know about other PD (GEM) dedicated glsl site or github space, i'd > be glad if you could post it. > > > > > best > > oliver > > > --- > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > https://www.avast.com/antivirus > > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> https://lists.puredata.info/li > stinfo/pd-list > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] .pdrc?
* zmoel...@iem.at [2017-04-14 08:48]: [...] > this is mainly because ~/.pdsettings works differently from .pdrc (which > just had one-cmdline-arg per line). > instead, .pdsettings uses key/value pairs with the "keys" being > predefined and not corresponding to any cmdline args, so "autopatch: 0" > is not a valid setting here (and "noautopatch" or "-noautopatch" are > totally not). > luckily you can specify cmdline-args in the "flags" section, so having > "flags: -noautopatch" should do what you want. Thank you! This indeed works! best, P ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] netsend
zmoel...@iem.at wrote: On 04/15/2017 09:46 PM, oliver wrote: i use the OSCX library (get it via deken) to do the job why would you use the most buggy implementation of OSC that is available for Pd? 1.) because nobody ever told me that it is 2,) because i use it without any trouble for quite a while now ... Pd>=0.46 has (simple) OSC built-in. which could not cope with, unfortunately. or at least i couldn't get it to work. thus my need for an alternative, and OSCX worked flawlessly right away it is also the first Pd version that includes deken, so i assume that this is your target platform. if you need bundles, timestamps or support for older versions of Pd (why would you?), use mrpeach/osc. ok, will do that ! as a sidenote: i'm not a developer, just a simple PD user. how am i supposed to know that a library is "the most buggy implementation of OSC that is available for Pd" ? if that is really the case, a short note inside deken or at least inside the library's folder would be very helpful. something like "is outdated/potentially buggy. use mrpeach/osc etc. instead" ... best oliver --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] netsend
On 04/15/2017 03:58 PM, cristiano piatti wrote: > Good morning, > i receive osc data through netreceive into pd. > How can i netsend these data outside from pd ? > Could someone please make me an example ? the netsend binary that comes with your Pd? not an example, but a writeup of the actual protocol: https://en.wikipedia.org/wiki/FUDI gfamrds IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] netsend
On 04/15/2017 09:46 PM, oliver wrote: > i use the OSCX library (get it via deken) to do the job why would you use the most buggy implementation of OSC that is available for Pd? Pd>=0.46 has (simple) OSC built-in. it is also the first Pd version that includes deken, so i assume that this is your target platform. if you need bundles, timestamps or support for older versions of Pd (why would you?), use mrpeach/osc. gfamsdr IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] netsend
hi, if i understood correctly, you want to send data from PD to an external application. this is how i do it: (see attached file) i use the OSCX library (get it via deken) to do the job best oliver cristiano piatti wrote: Good morning, i receive osc data through netreceive into pd. How can i netsend these data outside from pd ? Could someone please make me an example ? Thanks a lot. ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus #N canvas 656 336 541 300 10; #X obj 16 250 sendOSC, f 10; #X floatatom 16 273 5 0 0 0 - - -, f 5; #X msg 124 250 disconnect; #X floatatom 73 273 5 0 0 0 - - -, f 5; #X obj 15 10 loadbang; #X obj 16 226 r \$0-osc; #X obj 15 54 s \$0-osc; #X obj 124 271 s \$0-osc; #X obj 16 175 s \$0-osc; #X obj 16 132 list prepend send; #X obj 16 153 list trim; #X obj 239 84 s \$0-osc-cmd; #X obj 16 111 r \$0-osc-cmd; #X floatatom 240 41 5 0 0 0 - - -, f 5; #X obj 346 82 s \$0-osc-cmd; #X floatatom 347 39 5 0 0 0 - - -, f 5; #X msg 346 59 //2 \$1; #X msg 239 61 //1 \$1; #X obj 242 241 s \$0-osc-cmd; #X floatatom 242 135 5 0 0 0 - - -, f 5; #X obj 242 191 pack 0 s 0; #X symbolatom 281 135 10 0 0 0 - - -, f 10; #X floatatom 352 136 5 0 0 0 - - -, f 5; #X obj 352 155 t b f; #X obj 281 157 t b s; #X obj 371 232 list prepend set; #X msg 371 273 /mylist 7 symbol 0; #X obj 371 253 list trim; #X msg 242 215 /mylist \$1 \$2 \$3; #X msg 15 33 connect localhost ; #X text 80 9 connect to a port; #X text 15 91 format lists for sendOSC:; #X text 14 207 finally send it:; #X text 364 212 this is the full list:; #X text 236 3 some example messages that are sent into an external application ():, f 38; #X text 239 116 a list:; #X connect 0 0 1 0; #X connect 0 1 3 0; #X connect 2 0 7 0; #X connect 4 0 29 0; #X connect 5 0 0 0; #X connect 9 0 10 0; #X connect 10 0 8 0; #X connect 12 0 9 0; #X connect 13 0 17 0; #X connect 15 0 16 0; #X connect 16 0 14 0; #X connect 17 0 11 0; #X connect 19 0 20 0; #X connect 20 0 28 0; #X connect 21 0 24 0; #X connect 22 0 23 0; #X connect 23 0 20 0; #X connect 23 1 20 2; #X connect 24 0 20 0; #X connect 24 1 20 1; #X connect 25 0 27 0; #X connect 27 0 26 0; #X connect 28 0 18 0; #X connect 28 0 25 0; #X connect 29 0 6 0; ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] sending motion messages to subpatch
Hi everyone, I'm trying to get my subpatch to move around in its parent patch by sending it the message [motion x y z( unfortunately when I send the message the post window shows "consistency check failed: editor" I've attached a snippet to show the problem. I'm curious if anyone else is getting this bug, if it's a no-longer supported holdover from extended, or if there's another way to do this. I'm using Pd Vanilla 0.47-1. Thanks in advance! A. motionexample.pd Description: Binary data ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] netsend
Good morning, i receive osc data through netreceive into pd. How can i netsend these data outside from pd ? Could someone please make me an example ? Thanks a lot. ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] some GEM questions, shaders anyone ? ...
hi, people ! some update on the subject: i looked around and found this GEM-shader dedicated github-space: https://github.com/mxa/glsl bingo ! all of those patches worked alright ! more important for anybody interested: it contains a very useful abstraction called "pix_shader.pd" which makes working with glsl shaders much easier ! cyrille henry wrote: can you open the shader file on a windows text editor? I never had this kind of error. IOhannes wrote: i can think of two possible problems: - line endings (CRLF vs LF) - paths with spaces i think i can rule out the latter - i have PD on running as a "standalone" application on an extra partition with no-space paths. plus all other files (images etc.) that are called with an "open" message in the GEM glsl example patches load alright i will give messing around with line endings a try How to develop shader is not specific to GEM, and you'll file billions of website dedicated to glsl. well, as i said i didn't find too many ... the good thing about the aforementioned site is, that it contains not only the glsl shaders but also PD-patches to dig deeper into the glsl functions/code. thanks for all replys, already helped a lot ! again, a call to the list: a dedicated place that holds a collection of glsl shaders/examples optimized for GEM (i.e. with help patches) would be great, and i think the puredata.info/downloads section would be a good place to hold it. if you know about other PD (GEM) dedicated glsl site or github space, i'd be glad if you could post it. best oliver --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] some GEM questions, shaders anyone ? ...
On 04/14/2017 04:30 PM, cyrille henry wrote: >> >> [glsl_vertex]: error reading file >> [glsl_fragment]: error reading file >> [...] > > can you open the shader file on a windows text editor? i can think of two possible problems: - line endings (CRLF vs LF) - paths with spaces mdsa IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list