Le jeudi 17 septembre 2009 à 13:37 +0200, Max a écrit : > it works now. the GLSL in OS X is very picky about all floats beeing > defined with a decimal dot. Super ! > (here i use a NVIDIA GeForce 9400M w/ os x) > to make these patches really useful you have to use a camera with > manual focus and manual exposure. auto-* will wreck the results. Yep. > in order to optimize the output an edge detection could be an > instesting addition. It's another challenge, more complex. > do you mind if i add your version to the collection? Absolutely not ;) ++
Jack > > m. > > > Am 17.09.2009 um 13:16 schrieb Jack: > > > Hmm, strange i had only warning but no error. > > I change 0 to 0.0 (to use float instead int in 'if ((color.g - > > colorToDiscard.g) <= 0.0)') and now i have no warning (i join the > > new .frag) : all works fine here. > > I think, the problem could come from the GPU (and so the version of > > GLSL > > supported ? I am not an expert in GLSL, so i can't answer correctly to > > this question :). > > Here i have a NVidia 9700M GTS (with the NVidia driver 180.44). > > ++ > > > > Jack > > > > > > Le jeudi 17 septembre 2009 à 12:43 +0200, Max a écrit : > >> hi jack, > >> > >> you are very welcome. most of the patches are heavily inspired by > >> what > >> floats through the mailinglist or the help patches. > >> > >> i didn't have time to look into it but i am getting > >> > >> error: [glsl_fragment]: shader not loaded > >> linking: link 5.60519e-45 2.8026e-45 > >> linking: link 5.60519e-45 7.00649e-45 > >> [glsl_program]: Info_log: > >> [glsl_program]: ERROR: One or more attached shaders not successfully > >> compiled > >> > >> [glsl_program]: Link failed! > >> > >> with the shaders you've attached. are you shure they work on your > >> system? > >> > >> > >> Am 17.09.2009 um 01:39 schrieb Jack: > >> > >>> Hello Max, > >>> Thanx to share those useful patchs. > >>> Just one point, i have a problem with the color keying patch using > >>> GLSL, > >>> it doesn't work here (someone else ?). So i decided to write a > >>> new .frag > >>> (is it good ?) and create a new patch. > >>> By hoping it helps. > >>> ++ > >>> > >>> Jack > >>> > >>> > >>> Le mercredi 16 septembre 2009 à 16:09 +0200, Max a écrit : > >>>> ;o) > >>>> > >>>> you may want to look into those patches: > >>>> http://damm-net.org/wiki/index.php?title=Bewegungsmelder _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list