Home > Software engineering >  Draw bezier curve and curved surface
Draw bezier curve and curved surface

Time:11-03

The great spirit guide, explain:
GlMap1f (GL_MAP1_VERTEX_3, 0.0, 1.0, 3, m_num, & amp; Points [0] [0]);
GlEnable (GL_MAP1_VERTEX_3);
glClear(GL_COLOR_BUFFER_BIT);
GlColor3f (1.0, 0.0, 1.0);
GlBegin (GL_LINE_STRIP);//(GL_LINE_STRIP);
for (i=0; i <=30; I++)
GlEvalCoord1f ((GLfloat) I/30));
GlEnd ();
Evaluated the u and V what's the use of function, calculated curve (surface) what's the use of the u and V in the function, and why the for loop cycle below 30 times, the value is how come of, there is a time when I change the number of array elements found in the case of less can get curve, but some more later will not be able to get, could you tell me how to get any points Bessel curve and curved surface, thanks

CodePudding user response:

http://image.baidu.com/search/index? Tn=baiduimage& Ipn=r& Ct=201326592 & amp; Cl=2 & amp; Lm=1 & amp; St=1 & amp; FM=index& Fr=& amp; Sf=1 & amp; FMQ=& amp; Pv=& amp; IC=0 & amp; Nc=1 & amp; Z=& amp; Se=1 & amp; Showtab=0 & amp; Fb=0 & amp; Width=& amp; Height=& amp; Face=0 & amp; Istype=2 & amp; ie=utf-8& B4 E8 word=% % % % 9 d E5 A1 B0 E5 9 e % % % % % 94% % E6 9 BA E7 B2 b % % % % BF % E5 8 c % 92% % E6 9 E9 B2 b % % % % % 9 d A2

Remind: constantly place the left mouse button on the image, will eventually come to pages of images,
  • Related