Palette:sweetSpot

From Derivative
Jump to navigation Jump to 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.

See also Projection Mapping.

PythonIcon.pngPalette:sweetSpotPreviz Ext


Parameters - sweetSpotPreviz Page

Help Help - Opens this page.

Version Version - Current version of this COMP.


Operator Outputs

  • Output 0 -


Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:blendModes • Palette:bloom • Palette:camera • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Experimental:Palette:cppParsTemplateGen • Palette:customAttributes • Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:geoPanel • Palette:gestureCapture • Palette:graphPlot • Palette:histogram • Palette:hsvBlur • Palette:imageSearch • Palette:julia • Palette:kantanMapper • Palette:kinectCalibration • Palette:kinectPointcloud • Palette:leapPaint • Palette:lightTunnel • Palette:mandelbrot • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:moviePlayer • Palette:moviePlaylist • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:opticalFlow • Palette:particlesGpu • Palette:pixelate • Palette:pixelRelocator • Palette:pointGenerator • Palette:pointillize • Palette:pointMerge • Palette:pointRender • Palette:pointRepack • Palette:pointTransform • Palette:pointWeight • Palette:popDialog • Palette:probe • Palette:projectorBlend • Palette:pushPins • Palette:puzzle • Palette:quadReproject • Palette:radialBlur • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:sceneChanger • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:splitter • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpot • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:webSvg • Palette:xyScope