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
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;
hello,
there is a problem on the exemple patch I send.
this new one should be better.
sorry,
cyrille
Ju'k J'unk wrote:
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 314 552 10; #X obj 18 64 gemhead; #X obj 18 90 GEMglShadeModel; #X obj 18 158 GEMglBegin; #X obj 18 513 GEMglEnd; #X obj 73 117 loadbang; #X obj 198 78 gemwin; #X msg 198 22 create , 1; #X msg 215 46 0 , destroy; #X obj 58 331 f; #X obj 58 441 / 100; #X obj 95 416 / 33; #X obj 95 440 sin; #X obj 93 252 f; #X obj 93 276 + 4; #X text 68 465 X; #X text 104 464 Y; #X text 136 301 position; #X floatatom 85 199 5 0 0 0 - - -; #X obj 58 383 t f f; #X obj 58 416 - 500; #X obj 93 299 % 900; #X obj 36 484 GEMglVertex3f 0 0 0; #X obj 58 252 t b; #X obj 73 138 GLdefine GL_LINE_STRIP; #X obj 18 180 t a a b; #X obj 58 356 + 3; #X obj 36 219 repeat 30; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 24 0; #X connect 4 0 23 0; #X connect 6 0 5 0; #X connect 7 0 5 0; #X connect 8 0 25 0; #X connect 9 0 21 1; #X connect 10 0 11 0; #X connect 11 0 21 2; #X connect 12 0 13 0; #X connect 13 0 20 0; #X connect 17 0 26 1; #X connect 18 0 19 0; #X connect 18 1 10 0; #X connect 19 0 9 0; #X connect 20 0 12 1; #X connect 20 0 8 1; #X connect 22 0 8 0; #X connect 23 0 2 1; #X connect 24 0 3 0; #X connect 24 1 26 0; #X connect 24 2 12 0; #X connect 25 0 8 1; #X connect 25 0 18 0; #X connect 26 0 22 0; #X connect 26 0 21 0;