hello,
here is a small exemple (using "repeat" but not "until")
hope this help,
cyrille
Ju'k J'unk a écrit :
Hi, I'm super-desperate to get this part figured out, I'm trying to draw a number of line segments using glVertex3f as a GL_LINE_LOOP inside glBegin & glEnd triggered by GEM's [until], and then when all of the line coordinates have been calculated within [until] I then want to draw the
finished product. (This also will be done in a loop to re-draw the shape continously as its variables are changed) Please, please, please help. I've been stuck on this for days and I can't find any kind of example, or get any help from anyone so... Help me.
Thanks in advance, -Agent Orange
Also, if you are the one to help please make sure I can find your post by keeping the subject the same or similar, or even email me directly @ jukjunk@hotmail.com, Thanks!
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
#N canvas 754 118 370 608 10; #X obj 18 64 gemhead; #X obj 18 90 GEMglShadeModel; #X obj 18 113 GEMglBegin; #X obj 40 474 GEMglVertex3fv 0 0 0; #X obj 18 536 GEMglEnd; #X obj 118 509 loadbang; #X obj 18 559 GEMglShadeModel; #X obj 175 448 pack f f 0; #X obj 198 78 gemwin; #X msg 198 22 create , 1; #X msg 215 46 0 , destroy; #X obj 62 297 + 1; #X obj 62 273 f; #X obj 137 298 + 1; #X obj 137 274 f; #X obj 62 371 / 100; #X obj 137 346 / 33; #X obj 137 370 sin; #X obj 18 137 t a a b; #X obj 40 194 t a b b; #X obj 153 165 f; #X obj 153 213 % 800; #X obj 62 346 - 400; #X obj 40 163 repeat 100; #X obj 62 321 % 800; #X obj 137 322 % 800; #X obj 118 535 GLdefine GL_LINE_STRIP; #X obj 153 189 + 4; #X text 72 395 X; #X text 146 394 Y; #X text 196 214 position; #X floatatom 113 123 5 0 0 0 - - -; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 18 0; #X connect 4 0 6 0; #X connect 5 0 26 0; #X connect 7 0 3 1; #X connect 9 0 8 0; #X connect 10 0 8 0; #X connect 11 0 24 0; #X connect 12 0 11 0; #X connect 13 0 25 0; #X connect 14 0 13 0; #X connect 15 0 7 0; #X connect 16 0 17 0; #X connect 17 0 7 1; #X connect 18 0 4 0; #X connect 18 1 23 0; #X connect 18 2 20 0; #X connect 19 0 3 0; #X connect 19 1 12 0; #X connect 19 2 14 0; #X connect 20 0 27 0; #X connect 21 0 20 1; #X connect 21 0 14 1; #X connect 21 0 12 1; #X connect 22 0 15 0; #X connect 23 0 19 0; #X connect 24 0 12 1; #X connect 24 0 22 0; #X connect 25 0 14 1; #X connect 25 0 16 0; #X connect 26 0 6 1; #X connect 27 0 21 0; #X connect 31 0 23 1;