Skip to main content
gamedev.net
🔒 Locked

Texture Projection Problem

Started by dacredens Nov 18, 2004 at 1:29 PM 2 replies 1.1k views
Original Post
dacredens
dacredens
hi,with opengl, ive used the gluLookAt function in my texture coordinate matrix to prject the texture, however it seems to be divied into four quads on what ever its prjected onto...any ideas?
dacredens
dacredens
hi, this is pretty much the essence of the code, nothing hard, just wondering if theres some sort of matrix i need to multiply by before or after...

	glBindTexture(GL_TEXTURE_2D,teapot->ID);	glMatrixMode(GL_TEXTURE);	glLoadIdentity();	gluLookAt(1,1,1,-1,-1,-1,sin(temptime),1,0);	glMatrixMode(GL_MODELVIEW);	glutSolidTeapot(1.0f);


sorry cant get a shot!!:S!?

Topic Locked

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

Sign in to reply to this topic.