Palette:pointTransform

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

The pointTransform component applies a 3D transform to the XYZ point data stored in an image's RGB channels. The alpha channel of the input is passed along to the output unmodified.

The second input is an optional weight mask image that controls how strongly the transform is applied to each pixel. By default, all pixels are fully transformed according to the translate, rotate and scale parameters. One method of generating a weight mask is to use the Palette:pointWeight component.

PythonIcon.pngPalette:pointTransform1 Ext


Parameters - Transform Page

Help Help - Opens this page.  

Version Version - The current version of this component.  

Transform Order Transformorder - - The order that the transformation parameters (translate, rotate and scale) will be applied to the points in the input image.

  • Scale Rotate Translate Scale_Rotate_Translate -
  • Scale Translate Rotate Scale_Translate_Rotate, -
  • Rotate Scale Translate Rotate_Scale_Translate, -
  • Rotate Translate Scale Rotate_Translate_Scale, -
  • Translate Scale Rotate Translate_Scale_Rotate, -
  • Translate Rotate Scale Translate_Rotate_Scale -

Rotate Order Rotateorder - - The order of the axes used to rotate the point data.

  • Rx Ry Rz RxRyRz -
  • Rx Rz Ry RxRzRy -
  • Ry Rx Rz RyRxRz -
  • Ry Rz Rx RyRzRx -
  • Rz Rx Ry RzRxRy -
  • Rz Ry Rx RzRyRx -

Translate Translate - - An XYZ offset applied to the point data.

  • Translate Translatex -
  • Translate Translatey -
  • Translate Translatez -

Rotate Rotate - - Rotate the points around the X, Y and Z axes.

  • Rotate Rotatex -
  • Rotate Rotatey -
  • Rotate Rotatez -

Scale Scale - - Squash or stretch the point data in the X, Y and Z axes.

  • Scale Scalex -
  • Scale Scaley -
  • Scale Scalez -

Pivot Pivot - - An XYZ position to rotate the points around.

  • Pivot Pivotx -
  • Pivot Pivoty -
  • Pivot Pivotz -


Operator Inputs

  • Input 0 - An input image containing XYZ data in the RGB channels. The alpha channel is ignored and passed unmodified to the output.
  • Input 1 - An optional weight mask that controls how the input is blended with the new transformd positions. Pixels with a weight of zero will be unchanged by the transform, while pixels with a weight of one will take the full transform. If no weight mask is used, then all pixels will be transformed completely. Note: The weight mask should generally be the same dimensions as the position input so that each pixel uses a unique weight. Weight masks can be generated using the Palette:pointWeight component.


Operator Outputs

  • Output 0 - An output image containing the transformed pixel data. The output image will be the same dimensions as the input.


Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:blendModes • Palette:bloom • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Palette:customAttributes • 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: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:radialBlur • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:xyScope

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