Extending Shrinkwrap modifier I was wondering for some time now if it is possible to use the Shrinkwrap modifier (in combination with other modifiers, i.e. Normal Edit) for projecting a mesh onto a surface in shadow-like manner (like shadow from a Spot Light).

Currently one can project a mesh onto a plane using Project or Nearest vertex/Surface point modes.

The first mode works well only for parallel projection along the main world axes. Using it with the mesh normals (face/vertex?) is a disaster.

The other two modes are distance based projections - so no shadow-like.

In the image below I am showing the effect that I want to achieve
- projection based on reference point (the spot light) that will wrap the mesh onto the wall, over the shadow (produced by the spot light).

Any solutions, including python and add-ons, are welcome.

Thanks!
All you have to do is ray cast in the direction of the lamp starting from the vertices locations and use the points of intersection as the new vertices locations.



The foregoing example showed an orthogonal projection, another kind of projection would choose the ray direction based on the vertices locations as follows.