Palette:pointWeight

From Derivative
Jump to navigation Jump to search

Summary
[edit]

The pointWeight component creates a weight mask based on the XYZ point data stored in the input's RGB channels. The output mask will contain zero to one values for each point based on its position, with ones inside the selection volume and zeroes outside.

The selection volume is determined by the Shape and Transform parameters. The Falloff parameters determine if the volume has a hard edge or fades off gradually.

The output image can be used to control which points are rendered using the Active parameter of the Geometry COMP instance page, or as a weight mask in the second input of the Palette:pointTransform component.

PythonIcon.pngPalette:pointWeight Ext


Parameters - Shape Page

Help Help - Opens this page.

Version Version - The current version of this component.

Shape Shape - - The shape of the selection volume.
  • Sphere sphere - Points will be selected inside of a sphere of radius 1.
Transform Order Transformorder - - The order that the transformation parameters (translate, rotate and scale) will be applied to the position of the selection volume.
  • 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 selection volume.
  • 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 - - Move the position of the selection volume.
  • Translate Translatex -
  • Translate Translatey -
  • Translate Translatez -
Rotate Rotate - - Rotate the selection volume around the X, Y and Z axes.
  • Rotate Rotatex -
  • Rotate Rotatey -
  • Rotate Rotatez -
Scale Scale - - Squash or stretch the selection volume in the X, Y and Z axes.
  • Scale Scalex -
  • Scale Scaley -
  • Scale Scalez -
Pivot Pivot - - An XYZ position to rotate the selection volume around.
  • Pivot Pivotx -
  • Pivot Pivoty -
  • Pivot Pivotz -
Falloff Falloff - - Determines how points just outside the selection volume are weighted. If the falloff is set to None, points outside the selection volume will all be set to zero. For other falloff types, the weights will fade gradually to zero.
  • None none -
  • Linear lin -
  • Exponential exp -
Falloff Range Scale Falloffrange - Controls the range of the falloff effect. Zero is equivalent to having no falloff. Values greater than zero will stretch the falloff range away from the selection volume. The falloff range is relative to any scale applied to the selection volume, so the falloff will be further along axes that are scaled larger.


Operator Inputs

  • Input 0: positions - An input image containing XYZ point data in the RGB channels.


Operator Outputs

  • Output 0 - A single-channel floating point image containing a weight value for each input pixel based on the point's position in space.

TouchDesigner Build:

Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:bitwigClip • Palette:bitwigClipSlot • Palette:bitwigDeviceRemotes • Palette:bitwigMain • Palette:bitwigNote • Palette:bitwigProjectRemotes • Palette:bitwigRemotesDevice • Palette:bitwigRemotesProject • Palette:bitwigRemotesTrack • Palette:bitwigSelect • Palette:bitwigSong • Palette:bitwigTrack • Palette:bitwigTrackRemotes • Palette:blendModes • Palette:bloom • Palette:camera • Palette:cameraBrowser • Palette:cameraViewport • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Palette:cppParsTemplateGen • Palette:customAttributes • Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:encoder • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:gal • 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:logger • Experimental:Palette:logger • Palette:mandelbrot • Palette:materialDesignIcons • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:movieEngine • Palette:moviePlayer • Palette:moviePlaylist • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:operatorPath • Palette:opticalFlow • Palette:pixelate • Palette:pixelRelocator • Palette:pointGenerator • Palette:pointillize • Palette:pointMerge • Palette:pointRender • Palette:pointRepack • Palette:pointTransform • Palette:pointWeight • Palette:popDialog • Experimental:Palette:popDialog • Palette:probe • Palette:projectorBlend • Palette:pushPins • Palette:puzzle • Palette:quadReproject • Palette:radialBlur • Palette:recorder • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:sceneChanger • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:sickEngine • Palette:signalingClient • Palette:signalingServer • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:splitter • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:SVG • Palette:sweetSpot • Palette:sweetSpotPreviz • Palette:synchroCache • Palette:synchroClient • Palette:synchroFrameIn • Palette:synchroFrameOut • Palette:synchroNDIIn • Palette:synchroSDIIn • Palette:synchroVideoOut • Palette:tdBitwigPackage • Palette:TDVR • Palette:testGrid • Experimental:Palette:threadManagerClient • Experimental:Palette:threadsMonitor • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:webRTC • Palette:webRTCPanel • Palette:webRTCPanelRcv • Palette:xyScope • Experimental:Thread Manager