Home > Software engineering >  OPengl rendering display semicircle glVertex3d garden
OPengl rendering display semicircle glVertex3d garden

Time:09-19

Now meet a problem, can't find any problem after monitoring, don't know why, how should solve?

Problem description

OPengl rendering garden glVertex3d result in space in the graph shows semicircle

CArray PTop;

,,,

GlBegin (GL_POLYGON);
GlNormal3d (m_Normal. X, m_Normal. J y, m_Normal. Z);
Int nNum=pTop. GetSize ();
for (i=0; i{
GlVertex3d (pTop [I]. X, pTop [I] y, pTop [I]. Z);
}
GlEnd ();

In the machine, the graphics card can be better, it seems, is not a show semicircle, how to solve, can't let others machine graphics card

CodePudding user response:



Like this, red not part of the show

CodePudding user response:

Then your picture 3 Angle

CodePudding user response:

PTop posted an array
  • Related