[GEM-dev] rendering mistakes/bug

Erich Berger eb at randomseed.org
Fri Aug 11 11:09:43 CEST 2006


hello,
when one uses alpha (alpha makes the bug visible) on a cube or cuboid 
(thats the geos i tested),
and switches with the draw messages to wireframe and back the rendering
of the objects becomes wrong.
it actually is already enough to only send a draw fill message to mess it 
up. attached you find a patch to demonstrate it.

i would be very happy if somebody could fix this as i m using it in
a work under development.

best + thx

erich
---------------------
http://randomseed.org
-------------- next part --------------
#N canvas 233 337 813 347 10;
#X obj 219 99 gemwin;
#X msg 280 82 create;
#X msg 336 82 destroy;
#X obj 181 84 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
;
#X msg 456 82 lighting \$1;
#X obj 456 52 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
;
#X obj 32 23 gemhead 1;
#X obj 32 80 world_light;
#X obj 111 150 gemhead;
#X obj 111 194 rotateXYZ;
#X obj 208 41 loadbang;
#X obj 208 67 t b b b b;
#X msg 272 232 draw line;
#X obj 111 227 color 1 1 1 0.5;
#X obj 111 260 alpha;
#X msg 208 137 45;
#X floatatom 208 169 5 0 0 0 - - -;
#X text 378 230 first click draw line;
#X text 379 274 second click draw fill;
#X obj 111 295 cube 1 1 1;
#X text 282 122 after changing from default render style "fill" to
"draw line" and back to "draw fill" the rendering is messed up. experienced
with cube and cuboid. it actully is enough to only click "draw fill"
but i noticed it because of the change from wireframe to fill.;
#X msg 272 271 draw fill;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 4 0;
#X connect 6 0 7 0;
#X connect 8 0 9 0;
#X connect 9 0 13 0;
#X connect 10 0 11 0;
#X connect 11 0 15 0;
#X connect 11 1 5 0;
#X connect 11 2 3 0;
#X connect 11 3 1 0;
#X connect 12 0 19 0;
#X connect 13 0 14 0;
#X connect 14 0 19 0;
#X connect 15 0 16 0;
#X connect 16 0 9 1;
#X connect 16 0 9 2;
#X connect 16 0 9 3;
#X connect 21 0 19 0;


More information about the GEM-dev mailing list