hello,
i just saw that a "draw fill" message to a cube and some alpha did not work as expected. see patch. Cyrille
#N canvas 0 0 450 300 10; #X obj 65 91 gemhead; #X obj 65 115 alpha; #X obj 65 182 color 1 1 1 0.5; #X obj 65 275 cube; #X obj 73 58 gemwin; #X msg 73 32 create , 1; #X msg 117 211 draw fill; #X msg 123 234 draw line; #X obj 65 156 rotateXYZ 100 40 30; #X text 153 30 <- 1; #X text 208 212 <- 2; #X floatatom 107 134 5 0 0 0 - - -; #X floatatom 150 134 5 0 0 0 - - -; #X floatatom 193 135 5 0 0 0 - - -; #X connect 0 0 1 0; #X connect 1 0 8 0; #X connect 2 0 3 0; #X connect 5 0 4 0; #X connect 6 0 3 0; #X connect 7 0 3 0; #X connect 8 0 2 0; #X connect 11 0 8 1; #X connect 12 0 8 2; #X connect 13 0 8 3;
Use 'draw quad' for all surfaces made from quads. Not all draw types are compatible with every Geo.
On 4/27/06, cyrille henry cyrille.henry@la-kitchen.fr wrote:
hello,
i just saw that a "draw fill" message to a cube and some alpha did not work as expected. see patch. Cyrille
#N canvas 0 0 450 300 10; #X obj 65 91 gemhead; #X obj 65 115 alpha; #X obj 65 182 color 1 1 1 0.5; #X obj 65 275 cube; #X obj 73 58 gemwin; #X msg 73 32 create , 1; #X msg 117 211 draw fill; #X msg 123 234 draw line; #X obj 65 156 rotateXYZ 100 40 30; #X text 153 30 <- 1; #X text 208 212 <- 2; #X floatatom 107 134 5 0 0 0 - - -; #X floatatom 150 134 5 0 0 0 - - -; #X floatatom 193 135 5 0 0 0 - - -; #X connect 0 0 1 0; #X connect 1 0 8 0; #X connect 2 0 3 0; #X connect 5 0 4 0; #X connect 6 0 3 0; #X connect 7 0 3 0; #X connect 8 0 2 0; #X connect 11 0 8 1; #X connect 12 0 8 2; #X connect 13 0 8 3;
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
hello, thanks for answer. i was not aware of draw default.
about draw quad, i think it should be great to update the cube help file.
thanks Cyrille
IOhannes m zmoelnig a écrit :
chris clepper wrote:
Use 'draw quad' for all surfaces made from quads. Not all draw types are compatible with every Geo.
and use "draw default" to get the back to the default drawing mode (most likely this is what you expected with "draw fill")
mf.adsr. IOhannes
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev