I wish to simulate a projector screen in OpenGL, where an image is truly being projected onto the wall in real time. By this I mean if an object were to get in between the projector and the wall, that portion of the image will appear on the obstructing object.

Is this functionality possible in OpenGL? And what technolgies/libraries can I implement to facilitate this development?

  • dynamic texture? Jan 29, 2013 at 18:48
  • I'm unfamiliar with dynamic texturing, but preliminary research suggests it's not what I have in mind. The images I wish to project will be known prior to run-time, but the surface the images will be projected onto will be variable. Jan 29, 2013 at 19:02

1 Answer 1


What you're looking for is projective texture mapping, for which there are many tutorials and which has been possible in all versions of OpenGL: SGI's sample code was written for OpenGL 1.0.

What you do is essentially apply a perspective transformation on the texture when you apply it to an arbitrary surface.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.