Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any algorithm for projecting images onto a non-flat surface?

Is there any algorithm for projecting images onto a non-flat (deformed) surface?

It is not deformed too much. It is a really glassy surface covered with high-quality, durable tracing paper. I have a 3-dimensional model of it. How can I texturise it with a projector? projection

I want to write a program in C\C++\C# for Windows, which would be able to texturise any surface given by a 3-dimensional model using a projector.

I need an algorithm or open source libraries containing algorithms.

like image 933
Rella Avatar asked Oct 15 '22 09:10

Rella


1 Answers

Yes, there's an algorithm. Unless you really want to implement it on your own, it's probably easier to let an existing 3D graphics implementation do the job for you -- both OpenGL and DirectX will let you apply a texture to the surface of a 3D model. The NeHe tutorials include an example of the basic idea using OpenGL.

like image 69
Jerry Coffin Avatar answered Oct 27 '22 16:10

Jerry Coffin