P programsky Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-16 #1 请详细讲一下OpenGL的纹理命令glTexCoord2f的两个坐标参数s,t的具体意义。
爱 爱元元的哥哥 Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-17 #5 纹理坐标系如楼上所讲, 你按照用图钉往墙上贴图理解,你所要表达的就是图钉的位置![] 俺当初就是用这个方法记住的!
C cdyxl Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-17 #6 楼上的,交流一下? 我的QQ: 183021114 MSN: gz_oscar@msn.com
P programsky Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-18 #7 glTexCoord2f(0.0,0.0);glVertex3f(-2.0,-1.0,0.0); glTexCoord2f(0.0,1.0);glVertex3f(-2.0,1.0,0.0); glTexCoord2f(1.0,1.0);glVertex3f(0.0,1.0,0.0); glTexCoord2f(1.0,0.0);glVertex3f(0.0,-1.0,0.0); 得到的图形似乎是两个三角形拼成的。Why?
glTexCoord2f(0.0,0.0);glVertex3f(-2.0,-1.0,0.0); glTexCoord2f(0.0,1.0);glVertex3f(-2.0,1.0,0.0); glTexCoord2f(1.0,1.0);glVertex3f(0.0,1.0,0.0); glTexCoord2f(1.0,0.0);glVertex3f(0.0,-1.0,0.0); 得到的图形似乎是两个三角形拼成的。Why?