Palette:sweetSpotPreviz
Summary
This example illustrates the setup of a so-called Trompe l'Oeil effect where you render a scene from the position of the observer and use the result to re-project it onto a surface. Results created for large format projections, surround environments or tracked monitor setups will seem close to perspectively correct when viewed from the general area of the sweet spot. This technique is especially useful for previsualisation purposes as well as architectural mapping. Tools -> sweetSpot in the palette window is a production-ready component which can be used together with camSchnappr.
Given a scene and a screen position we render the scene with the help of a camera placed in our chosen sweet spot. The sweetSpot camera is looking at the screen COMP. Now the rendered square texture is applied to the screen geometry whose texture coordinates are specified with the Perspective from Camera (sweetSpot) setting on the texture SOP.
Rendering the whole scene now from a projector position (screenCam) will result in a texture that can be used to re-project from the projector. In case the final output is an LCD screen, the screenCam should be set to orthographic and situated directly in front of the screen geometry. If the viewer will be tracked, the resulting position can drive the transform tx, ty and tz parameters of the sweetSpot Camera COMP directly.
Parameters - sweetSpotPreviz Page
Help
- Opens this page.
Version
- Current version of this COMP.
Operator Outputs
- Output 0 -
TouchDesigner Build: