Advertisement

problems with tex mapping

Started by March 30, 2001 03:23 PM
0 comments, last by trigger 23 years, 7 months ago
i have problems with this piece of code: glBegin(GL_QUADS); glTexCoord2f(0.0f, 0.5f); glVertex3f(-2.0f, 0.7f,0.0f); glTexCoord2f(1.0f, 0.5f); glVertex3f( 0.0f, 0.7f,0.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f( 0.0f, 1.7f,0.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-2.0f, 1.7f,0.0f); glEnd(); glBegin(GL_QUADS); glTexCoord2f(0.0f, 0.0f); glVertex3f( 0.0f, 0.7f,0.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f( 2.0f, 0.7f,0.0f); glTexCoord2f(1.0f, 0.5f); glVertex3f( 2.0f, 1.7f,0.0f); glTexCoord2f(0.0f, 0.5f); glVertex3f( 0.0f, 1.7f,0.0f); glEnd(); i want to render a bitmap on 2 quads so that i have a nice logo on them. but between my 2 quads is little space so that the logo looks crappy. anyvody can help me? thanx... cu trigger
http://trigger.xenyon.net/
oh well! i got it... was a problem with the filter type
cu
trigger
http://trigger.xenyon.net/

This topic is closed to new replies.

Advertisement