Difference between revisions of "Null MAT"

From TouchDesigner Documentation
Jump to: navigation, search
(TD Editor)
(cleaning)
Line 1: Line 1:
 
{{Summary
 
{{Summary
 
|short=The Null MAT has no effect on the data. It is an instance of the MAT connected to its input.
 
|short=The Null MAT has no effect on the data. It is an instance of the MAT connected to its input.
|OPlicense=Non-Commercial
+
|opLicense=Non-Commercial
|OPfamily=MAT
+
|opFamily=MAT
|OPfilter=True
+
|opFilter=True
|OPlabel=Null
+
|opLabel=Null
|OPclass=nullMAT_Class
+
|opClass=nullMAT_Class
|OPtype=null
+
|opType=null
 
|long=The Null MAT has no effect on the data. It is an instance of the MAT connected to its input. It doesn't do much but comes in handy when building networks.
 
|long=The Null MAT has no effect on the data. It is an instance of the MAT connected to its input. It doesn't do much but comes in handy when building networks.
 
}}
 
}}
 
{{ParameterPage
 
{{ParameterPage
 
|items=
 
|items=
|Pagesummary=
+
|pageSummary=
|Pagename=Null
+
|pageName=Null
|OPfamily=MAT
+
|opFamily=MAT
 
}}
 
}}
 
{{ParameterPage
 
{{ParameterPage
 
|items=
 
|items=
{{ParToggle
+
{{Parameter|parSummary=
|Parsummary=
+
|parLabel=Deform
|Parlabel=Deform
+
|opFamily=MAT
|OPfamily=MAT
+
|parName=dodeform
|Parname=dodeform
+
|opType=null
|OPtype=null
+
|parOrder=0
|Parorder=0
+
|parType=
}}
+
|parReadOnly=
{{ParMenu
+
|parItems=}}
|Parorder=1
+
{{Parameter|parOrder=1
|Parsummary=
+
|parSummary=
|Parlabel=Get Bone Data:
+
|parLabel=Get Bone Data:
|Paritems=
+
|parItems=
 
{{Menuitem
 
{{Menuitem
 
|Itemlabel=From a SOP
 
|Itemlabel=From a SOP
Line 52: Line 52:
 
}}
 
}}
 
 
|OPfamily=MAT
+
|opFamily=MAT
|OPtype=null
+
|opType=null
|Parname=deformdata
+
|parName=deformdata
}}
+
|parType=
{{ParSopRef
+
|parReadOnly=}}
|Parsummary=
+
{{Parameter|parSummary=
|Parlabel=SOP with Capture Data
+
|parLabel=SOP with Capture Data
|OPfamily=MAT
+
|opFamily=MAT
|Parname=targetsop
+
|parName=targetsop
|OPtype=null
+
|opType=null
|Parorder=2
+
|parOrder=2
}}
+
|parType=
{{ParString
+
|parReadOnly=
|Parsummary=
+
|parItems=}}
|Parlabel=pCaptPath Attrib
+
{{Parameter|parSummary=
|OPfamily=MAT
+
|parLabel=pCaptPath Attrib
|Parname=pcaptpath
+
|opFamily=MAT
|OPtype=null
+
|parName=pcaptpath
|Parorder=3
+
|opType=null
}}
+
|parOrder=3
{{ParString
+
|parType=
|Parsummary=
+
|parReadOnly=
|Parlabel=pCaptData Attrib
+
|parItems=}}
|OPfamily=MAT
+
{{Parameter|parSummary=
|Parname=pcaptdata
+
|parLabel=pCaptData Attrib
|OPtype=null
+
|opFamily=MAT
|Parorder=4
+
|parName=pcaptdata
}}
+
|opType=null
{{ParString
+
|parOrder=4
|Parsummary=
+
|parType=
|Parlabel=Skeleton Root Path
+
|parReadOnly=
|OPfamily=MAT
+
|parItems=}}
|Parname=skelrootpath
+
{{Parameter|parSummary=
|OPtype=null
+
|parLabel=Skeleton Root Path
|Parorder=5
+
|opFamily=MAT
}}
+
|parName=skelrootpath
{{ParMatRef
+
|opType=null
|Parsummary=
+
|parOrder=5
|Parlabel=MAT
+
|parType=
|OPfamily=MAT
+
|parReadOnly=
|Parname=mat
+
|parItems=}}
|OPtype=null
+
{{Parameter|parSummary=
|Parorder=6
+
|parLabel=MAT
}}
+
|opFamily=MAT
 +
|parName=mat
 +
|opType=null
 +
|parOrder=6
 +
|parType=
 +
|parReadOnly=
 +
|parItems=}}
 
 
|Pagesummary=
+
|pageSummary=
|Pagename=Deform
+
|pageName=Deform
|OPfamily=MAT
+
|opFamily=MAT
 
}}
 
}}
 
{{:MAT Filter Common Page
 
{{:MAT Filter Common Page
 
}}
 
}}
{{History
+
{{InputsPage
 +
|opFamily=MAT
 +
|opInputs={{OPInput
 +
|opFamily=MAT
 +
|inputIndex=0
 +
|inputName=
 +
|inputSummary=
 +
}}
 +
}}{{History
 
}}
 
}}
 
{{MATNavBox
 
{{MATNavBox
|OPfamily=MAT
+
|opFamily=MAT
 
}}
 
}}
 
{{#invoke:Category
 
{{#invoke:Category
 
|list|MATs}}
 
|list|MATs}}

Revision as of 16:46, 24 January 2019

Summary
[edit]

The Null MAT has no effect on the data. It is an instance of the MAT connected to its input. It doesn't do much but comes in handy when building networks.

PythonIcon.pngnullMAT_Class


Parameters - Null Page

Parameters - Deform Page

Deform dodeform -  

Get Bone Data: deformdata - -

SOP with Capture Data targetsop -  

pCaptPath Attrib pcaptpath -  

pCaptData Attrib pcaptdata -  

Skeleton Root Path skelrootpath -  

MAT mat -  


Parameters - Common Page

Blending
[edit]

Blending(Transparency) blending - This toggle enables and disables blending. However see the wiki article Transparency.  

Source Color * srcblend - - This value is multiplied by the color value of the pixel that is being written to the Color-Buffer (also know as the Source Color).

  • Zero zero -
  • Dest Color dcol -
  • One Minus Dest Color omdcol -
  • Source Alpha sa -
  • One Minus Source Alpha omsa -
  • Dest Alpha da -
  • One Minus Dest Alpha omda -
  • Source Alpha Saturate sas -
  • One one -

Destination Color * destblend - - This value is multiplied by the color value of the pixel currently in the Color-Buffer (also known as the Destination Color).

  • One one -
  • Src Color scol -
  • One Minus Src Color omscol -
  • Source Alpha sa -
  • One Minus Source Alpha omsa -
  • Dest Alpha da -
  • One Minus Dest Alpha omda -
  • Zero zero -

Separate Alpha Function separatealphafunc - This toggle enables and disables separate blending options for the alpha values.  

Source Alpha * srcblenda - - This value is multiplied by the alpha value of the pixel that is being written to the Color-Buffer (also know as the Source Alpha).

  • Zero zero -
  • Dest Color dcol -
  • One Minus Dest Color omdcol -
  • Source Alpha sa -
  • One Minus Source Alpha omsa -
  • Dest Alpha da -
  • One Minus Dest Alpha omda -
  • Source Alpha Saturate sas -
  • One one -

Destination Alpha * destblenda - - This value is multiplied by the alpha value of the pixel currently in the Color-Buffer (also known as the Destination Alpha).

  • One one -
  • Src Color scol -
  • One Minus Src Color omscol -
  • Source Alpha sa -
  • One Minus Source Alpha omsa -
  • Dest Alpha da -
  • One Minus Dest Alpha omda -
  • Zero zero -


[edit]

Depth Test depthtest - Enables and disables the Depth-Test. If the depth-test is disabled, depths values aren't written to the Depth-Buffer.  

Depth Test Function depthfunc - - The depth value of the pixel being drawn is compared to the depth value currently in the depth-buffer using this function. If the test passes then the pixel is drawn to the Frame-Buffer. If the test fails the pixel is discarded and no changes are made to the Frame-Buffer.

  • Less Than less -
  • Less Than or Equal lessorequal -
  • Equal equal -
  • Greater Than greater -
  • Greater Than or Equal greaterorequal -
  • Not Equal notequal -
  • Always always -

Write Depth Values depthwriting - If Write Depth Values is on, pixels that pass the depth-test will write their depth value to the Depth-Buffer. If this isn't on then no changes will be made to the Depth-Buffer, regardless of if the pixels drawn pass or fail the depth-test.  


[edit]

Discard Pixels Based on Alpha alphatest - This enables or disables the pixel alpha test.  

Keep Pixels with Alpha alphafunc - - This menu works in conjunction with the Alpha Threshold parameter below in determining which pixels to keep based on their alpha value.

  • Less Than less -
  • Less Than or Equal lessorequal -
  • Greater Than greater -
  • Greater Than or Equal greaterorequal -

Alpha Threshold alphathreshold - This value is what the pixel's alpha is compared to to determine if the pixel should be drawn. Pixels with alpha greater than the Alpha Threshold will be drawn. Pixels with alpha less than or equal to the Alpha Threshold will not be drawn.  


[edit]

Wire Frame wireframe - - Enables and disables wire-frame rendering with the option of OpenGL Tesselated or Topology based wireframes.

  • Off off -
  • OpenGL Tesselated Wire Frame tesselated -
  • Topology Wire Frame topology -

Line Width wirewidth - This value is the width that the wires will be. This value is in pixels.  


[edit]

Cull Face cullface - - Selects which faces to render.

  • Use Render Setting userender - Use the render settings found in the Render or Render Pass TOP.
  • Neither neither - Do not cull any faces, render everything.
  • Back Faces backfaces - Cull back faces, render front faces.
  • Front Faces frontfaces - Cull front faces, render back faces.
  • Both Faces bothfaces - Cull both faces, render nothing.


[edit]

Polygon Depth Offset polygonoffset - Turns on the polygon offset feature.  

Offset Factor polygonoffsetfactor -  

Offset Units polygonoffsetunits -  


Operator Inputs

  • Input 0 -

TouchDesigner Build:

MATs
Constant • Experimental:Constant • Depth • GLSL • Experimental:GLSL • In • Line • MAT • MAT Common age • Null • Out • PBR • Experimental:PBR • Phong • Experimental:Phong • Point Sprite • Select • Switch • Texture Sampling arameters • Wireframe

An Operator Family that associates a shader with a SOP or Geometry Object for rendering textured and lit objects.

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

TouchDesigner is a hierarchy of components. "root" is the top-most network in the hierarchy. The Path is simply /. A typical path is /project1/moviein1.

The location of an operator within the TouchDesigner environment, for example, /geo1/torus1, a node called torus1 in a component called geo1. The path / is called Root. To refer instead to a filesystem folder, directory, disk file or http: address, see Folder.

The term "Frame" is used (1) in the Timeline, (2) as a time-unit in CHOPs, (3) as a time-unit in TOPs, and (4) with movies images which are read and created with TOPs.

The connection of an output of one node to the input of another node in a network. In contrast, see Link.

An Operator Family that creates, composites and modifies images, and reads/writes images and movies to/from files and the network. TOPs run on the graphics card's GPU.