[PD] pd/gem dumb polygon question

ypatios ypatios at gmail.com
Sun May 31 20:10:11 CEST 2009


Oops..

i saw your patch too late :$

nice work :-)


ciao



2009/5/31 Max <abonnements at revolwear.com>

> i like scolarsheep, the are cute.
>
> i suspect the polygon in Gem behaves just like the polygons in OpenGL. This
> is probably the reason why shapes with points indentating relative to their
> neighbours are not displayed as you'd expect.
> see figure 2-2 for reference:
> http://alien.dowling.edu/~vassil/theredbook/chapter02.html<http://alien.dowling.edu/%7Evassil/theredbook/chapter02.html>
>
> i've modified cyrilles patch a little bit to have 5 "brancens"
>
>
>
>
>
> btw. i have a few suggestions how you could take better advantage of the
> email list:
> 1. search the archive first - you might find information relevant to you
> http://lists.puredata.info/pipermail/pd-list/2005-10/032224.html
> 2. don't just reply to a random message if you want to open a new thread.
> it will mess up thread-view.
> 3. send preferably text only messages, not html.
>
>
> Am 31.05.2009 um 10:43 schrieb CICCOLIX:
>
>  Hi,
>> for my scolarsheep i would to make in Gem a animate european flag.
>> I'm starting from the stars.
>>
>> Using polygon object seem something whose wrong, it appear nice in line
>> mode but bad in fill mode.
>> I am the suspect  that this depends on my poor knowledge of the
>> foundations of geometry :)
>>
>> Please help
>>
>> here's attached the patch and online find the images of result
>> many thanks
>> --
>> Lazzaro
>>
>> http://www.eyax.com/line.jpg
>> http://www.eyax.com/fill.jpg
>> #N canvas 390 429 849 441 10;
>> #X obj 119 248 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
>> 0;
>> #N canvas 0 0 450 300 gemwin 0;
>> #X obj 132 136 gemwin;
>> #X obj 67 89 outlet;
>> #X obj 67 10 inlet;
>> #X obj 67 41 route create;
>> #X msg 67 70 set destroy;
>> #X msg 142 68 set create;
>> #X msg 198 112 destroy;
>> #X msg 132 112 create \, 1;
>> #X connect 2 0 3 0;
>> #X connect 3 0 4 0;
>> #X connect 3 0 7 0;
>> #X connect 3 1 5 0;
>> #X connect 3 1 6 0;
>> #X connect 4 0 1 0;
>> #X connect 5 0 1 0;
>> #X connect 6 0 0 0;
>> #X connect 7 0 0 0;
>> #X restore 124 287 pd gemwin;
>> #X msg 124 268 destroy;
>> #X text 120 247 Create window:;
>> #X obj 271 79 gemhead;
>> #X obj 343 224 rotateXYZ;
>> #X floatatom 338 167 5 0 0 0 - - -;
>> #X obj 583 380 polygon 12 --------------;
>> #X msg 285 343 draw line;
>> #X msg 285 298 draw fill;
>> #X msg 489 108 2 0 0;
>> #X msg 595 190 0 -3 0;
>> #X msg 627 216 -1 -2 0;
>> #X msg 656 241 -3 -2 0;
>> #X msg 522 133 3 -2 0;
>> #X msg 556 161 1 -2 0;
>> #X msg 704 297 -3 2 0;
>> #X msg 406 28 0 3 0;
>> #X msg 432 52 1 2 0;
>> #X msg 466 77 3 2 0;
>> #X msg 681 273 -2 0 0;
>> #X msg 733 326 -1 2 0;
>> #X connect 1 0 2 0;
>> #X connect 2 0 1 0;
>> #X connect 4 0 5 0;
>> #X connect 5 0 7 0;
>> #X connect 6 0 5 1;
>> #X connect 8 0 7 0;
>> #X connect 9 0 7 0;
>> #X connect 10 0 7 4;
>> #X connect 11 0 7 7;
>> #X connect 12 0 7 8;
>> #X connect 13 0 7 9;
>> #X connect 14 0 7 5;
>> #X connect 15 0 7 6;
>> #X connect 16 0 7 11;
>> #X connect 17 0 7 1;
>> #X connect 18 0 7 2;
>> #X connect 19 0 7 3;
>> #X connect 20 0 7 10;
>> #X connect 21 0 7 12;
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
ypatios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090531/f58b4a9f/attachment.htm>


More information about the Pd-list mailing list