| |
|
|
Detlef Jagolski | Hi,
i want one trapeze (3-dimensional) with OpenGL create and of/ one Textur slip.
Kan someone a Tipp give, How one there best starting?
Greeting
Detlef |
|
|
| XProfan X4, PRFellow, Profan2Cpp - Version 2.0c-pre5, Windows 11 | 03/15/10 ▲ |
|
|
|
|
| helps OGL trapeze OpenGL Texturiert [...] ? |
|
|
| |
|
|
|
Detlef Jagolski | Hello IF,
many Thanks for your Help, so correctly. come so not yet clear. must me the time very standing with the functions.
there not all functions in the help of XProfan described are, missing me yet the Context To your example.
Greeting Detlef |
|
|
| XProfan X4, PRFellow, Profan2Cpp - Version 2.0c-pre5, Windows 11 | 03/15/10 ▲ |
|
|
|
|
| I faith,
ogl("glBegin",7)//GL_QUADS
oGL("glTexCoord2f",0.0,0.0)
ogl("glVertex3f",x!,y!,0)
oGL("glTexCoord2f",1.0,0.0)
ogl("glVertex3f",xx!,y!,0)
oGL("glTexCoord2f",1.0,1.0)
ogl("glVertex3f",xx!+v!,yy!,0)
oGL("glTexCoord2f",0.0,1.0)
ogl("glVertex3f",x!+v!,yy!,0)
ogl("glEnd")
isn't described.
If you The glTexCoord2f-Lines wegnimmst, see You, the Poly - glTexCoord2f is only to that "Mappen" the Textur relatively to the Vertexen. GL_QUADS has z.B. 4 Vertexe, gives too z.B. GL_POLYGON. [...] |
|
|
| |
|
|
|
| OK, I had The Vertexe too so space can, that objectively too one trapeze To see is, but this is vlt. secondary. ^^ |
|
|
| |
|
|