| |
|
|
Andreas Gaida | Hi
I have the trouble that I under Opengl Dreiecke and Vierecke draw must from Vector data and not with oGL(TRIANGLE, x!, y!) or oGL(QUAD, x!, y!) can make. About Help How I the over The API make could would I very forward I unfortunately no idea have How I The Pasende API function of these werten address should Bräuchte so appeal a function : glbox (x,y,z),(x,y,z),(x,y,z),(x,y,z) and gltriangle (x,y,z),(x,y,z),(x,y,z) for quellcode would I very grateful his. example data for einn die : v 1 1 1 v 1 1 -1 v 1 -1 1 v 1 -1 -1 v -1 1 1 v -1 1 -1 v -1 -1 1 v -1 -1 -1
f 1 3 4 2 f 5 7 8 6 f 1 5 6 2 f 3 7 8 4 f 1 5 7 3 f 2 6 8 4
MfG Andreas |
|
|
| Athlon X2 4800 , 2GB Ram , GeForce 7800GT Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b | 12/18/06 ▲ |
|
|
|
|
Andreas Gaida | my trouble having itself aufgelöst having only Problems with the Parameter Passing because I initially glVertex3d uses have anstat glVertex3f
Listennummer1& = oGL(STARTLIST) rückgabe& =oGL(glBegin,~GL_QUADS ) oGL(glVertex3f,-1.0, 1.0, 0.0) oGL(glVertex3f,1.0, 1.0, 0.0) oGL(glVertex3f,1.0,-1.0, 0.0) oGL(glVertex3f,-1.0,-1.0, 0.0) rückgabe& = oGL(glEnd) oGL(ENDLIST)
Listennummer2& = oGL(STARTLIST) rückgabe& =oGL(glBegin,~GL_TRIANGLES ) oGL(glVertex3f, 0.0, 1.0, 0.0) oGL(glVertex3f,-1.0,-1.0, 0.0) oGL(glVertex3f, 1.0,-1.0, 0.0) rückgabe& = oGL(glEnd) oGL(ENDLIST)
MfG Andreas |
|
|
| Athlon X2 4800 , 2GB Ram , GeForce 7800GT Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b | 12/19/06 ▲ |
|
|
|