• Advertisement

Archived

This topic is now archived and is closed to further replies.

A Question about Projective Texture

This topic is 4997 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
Thanks a lot. I did just following that paper, but i couldn''t get the desired result. What should I do now?

Share this post


Link to post
Share on other sites

  • Advertisement