[GEM-dev] pix _snap and pix_data

cyrille henry cyrille.henry at la-kitchen.fr
Wed May 28 00:39:50 CEST 2008


hello,
this patch works here!
thanks a lot.
cyrille


Jack a écrit :
> Here it is. The difference is that i have two [gemhead] but it's the same.
> ++
> 
> Jack
> 
> 
> 
> Le 28 mai 08 à 00:13, cyrille henry a écrit :
> 
>> hello,
>>
>> thanks for your answer.
>> yes, i do change the numberbox between 0 and 1, but the pix_data 
>> output is still 0.
>>
>> there is no attachement on your mail.
>>
>> Cyrille
>>
>> Jack a écrit :
>>> Hmm, don't know why it don't work, here no problem (PowerBook G4, 
>>> MacOSX.4.11, Pd-extended 20080315).
>>> Maybe try the number box of [pix_data] between 0 and 1.
>>> Here an other patch that work too.
>>> ++
>>> Jack
>>> Le 27 mai 08 à 22:44, cyrille henry a écrit :
>>>> hello,
>>>>
>>>> i can't make pix_data to work with pix_snap.
>>>>
>>>> is there a problem with my patch?
>>>>
>>>> thanks
>>>> Cyrille
>>>> #N canvas 741 93 444 655 10;
>>>> #X obj 40 32 gemhead;
>>>> #X floatatom 77 351 4 0 0 1 width - -;
>>>> #X floatatom 88 333 4 0 0 1 height - -;
>>>> #X floatatom 99 315 4 0 0 1 bytes/pixel - -;
>>>> #X floatatom 109 298 5 0 0 1 coulorspace - -;
>>>> #X obj 67 277 pix_info ----;
>>>> #X msg 40 179 snap;
>>>> #X obj 40 55 t b a;
>>>> #X obj 67 136 pix_texture;
>>>> #X obj 67 116 pix_image;
>>>> #X obj 52 397 pix_data;
>>>> #X floatatom 82 377 5 0 0 0 - - -;
>>>> #X floatatom 120 378 5 0 0 0 - - -;
>>>> #X obj -2 368 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
>>>> -1;
>>>> #X obj 74 420 unpack f f f;
>>>> #X floatatom 74 443 5 0 0 0 - - -;
>>>> #X floatatom 108 443 5 0 0 0 - - -;
>>>> #X floatatom 143 443 5 0 0 0 - - -;
>>>> #X obj 67 252 pix_write;
>>>> #X obj 42 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
>>>> -1;
>>>> #X obj -103 78 gemwin;
>>>> #X msg -97 53 0 \, destroy;
>>>> #X obj 79 73 openpanel;
>>>> #X obj 79 55 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
>>>> -1;
>>>> #X text 102 55 <-------------------- 1;
>>>> #X text -70 216 2: OK ------->;
>>>> #X text -85 368 3 : ------->;
>>>> #X msg 79 92 open \$1;
>>>> #X msg -103 32 create \, 1;
>>>> #X obj 67 224 pix_snap;
>>>> #X obj 67 156 sphere 4 33;
>>>> #X connect 0 0 7 0;
>>>> #X connect 5 0 10 1;
>>>> #X connect 5 1 1 0;
>>>> #X connect 5 2 2 0;
>>>> #X connect 5 3 3 0;
>>>> #X connect 5 4 4 0;
>>>> #X connect 6 0 29 0;
>>>> #X connect 7 0 6 0;
>>>> #X connect 7 1 9 0;
>>>> #X connect 8 0 30 0;
>>>> #X connect 9 0 8 0;
>>>> #X connect 10 1 14 0;
>>>> #X connect 11 0 10 2;
>>>> #X connect 12 0 10 3;
>>>> #X connect 13 0 10 0;
>>>> #X connect 14 0 15 0;
>>>> #X connect 14 1 16 0;
>>>> #X connect 14 2 17 0;
>>>> #X connect 18 0 5 0;
>>>> #X connect 19 0 18 0;
>>>> #X connect 21 0 20 0;
>>>> #X connect 22 0 27 0;
>>>> #X connect 23 0 22 0;
>>>> #X connect 27 0 9 0;
>>>> #X connect 28 0 20 0;
>>>> #X connect 29 0 18 0;
>>>> #X connect 30 0 29 0;
>>>> _______________________________________________
>>>> GEM-dev mailing list
>>>> GEM-dev at iem.at
>>>> http://lists.puredata.info/listinfo/gem-dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev




More information about the GEM-dev mailing list