A Question about Projective Texture

Started by
3 comments, last by ChinaShrimp 19 years, 10 months ago
Hi, I want to project a image onto a plane that located at (0, 0, -100) via projective texture: [IMG]http://photo.dudu.com/displayImg.jsp?u=chinashrimp&f=523395&contentId=522735&sid=a-OXveG_HkM-&size=3[/IMG] 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! [edited by - ChinaShrimp on June 10, 2004 11:47:09 PM]
Advertisement
Off the top of my head, what you''ve got there is correct, you only need to concatenate the projection matrix and modelview matrix to the series (first modelview, then projection).
Thanks for your reply. Could you give me an example?
nVidia dev-pages can be very helpfull.

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
Thanks a lot. I did just following that paper, but i couldn''t get the desired result. What should I do now?

This topic is closed to new replies.

Advertisement