Skip to main content
gamedev.net
🔒 Locked

Texture Coord Need Help

Started by dawidjoubert 1 reply 350+ views
Original Post
dawidjoubert
dawidjoubert
i CANT SEEM to get texture co-ordinates to work on an ortho setup the code looks some thing like this glColor3f(0.5,0.5,0.5); glbindtexture(texture) glbegin(GL_QUADS) glTextCoord(0,0); glVertex(10,10) glTextCoord(1,0); glVertex(100,10) glTextCoord(1,1); glVertex(100,100) glTextCoord(0,1); glVertex(10,100) glend; note i see the Quad colored in write but i dont see the texture Depth Testing is off Please help
----------------------------http://djoubert.co.uk
Enigma
Enigma
1. Have you enabled texturing?

2. Is your texture valid? (Dimensions power to two if not using extension)

3. Are you trying to create your texture before OpenGL is initialised?

Enigma
dawidjoubert
dawidjoubert
No i thought i might have made a mistake so im trying to use the font''s Texture - and the font loads fine so yes everything should work - i dont know ill just start from beggening
----------------------------http://djoubert.co.uk

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.