Palette:sweetSpotPreviz

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

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.

PythonIcon.pngPalette:sweetSpotPreviz Ext


Parameters - sweetSpotPreviz Page

Help Help - Opens this page.  

Version Version - Current version of this COMP.  


Operator Outputs

  • Output 0 -

TouchDesigner Build:

Palette
Palette • Palette:audioSet • Palette:battery • Palette:bloom • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:convolve • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:feedback • Palette:feedbackEdge • Palette:geoPanel • Palette:gestureCapture • Palette:hsvBlur • Palette:imageSearch • Palette:julia • Palette:kantanMapper • Palette:kinectPointcloud • Palette:leapPaint • Palette:lightTunnel • Palette:mandelbrot • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:moviePlayer • Palette:noise • Palette:particlesGpu • Palette:pixelate • Palette:pixelRelocator • Palette:pointillize • Palette:popDialog • Palette:probe • Palette:pushPins • Palette:puzzle • Palette:radialBlur • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:webBrowser • Palette:xyScope

An Operator Family that contains its own Network inside. There are twelve 3D Object Component and eight 2D Panel Component types. See also Network Path.

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.

A 3D image created with the Render TOP. Also used more generally to include the compositing (with TOPs) to generate an output image.

A built-in panel in TouchDesigner that contains a library of components and media that can be dragged-dropped into a TouchDesigner network.