PDA

View Full Version : A Question about texture matrix



ChinaShrimp
06-10-2004, 05:10 AM
Hi,
I want to project a image onto a plane that located at (0, 0, -100) via projective texture:
http://photo.dudu.com/displayImg.jsp?u=chinashrimp&f=523395&contentId=522735&sid=a-OXveG_HkM-&size=3
How can I set the texture matrix?

glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glTranslatef(0.5, 0.5, 0.0);
glScalef(0.5, 0.5, 1.0);
...Thank you in advance!

ChinaShrimp
06-10-2004, 04:16 PM
can anyone help me to solve this problem?

ChinaShrimp
06-11-2004, 04:59 PM
Who can help me with this problem?

06-11-2004, 05:16 PM
try a search in the forums
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=3;t=012073

try google with "projective texturing"

check out the nvidia/ati sites for papers/demos.