Experimental:Math POP
Summary
not completed
note: angles in degrees.
Parameters - Math Page
Attribute Class
attribclass
- ⊞ -
- Point
point
-
- Vertex
vertex
-
- Primitive
primitive
-
Group
group
-
Input Attribute Scope
inputattscope
-
Parameter Size
parsize
- ⊞ -
- 1
1
-
- 2
2
-
- 3
3
-
- 4
4
-
Pre Operation
preoper
- ⊞ -
- None
none
-
- abs(A)
abs
-
- sign(A)
sign
-
- sqrt(A)
sqrt
-
- A * A
square
-
- 1 / A
inverse
-
- round(A)
round
-
- floor(A)
floor
-
- ceil(A)
ceil
-
- int(A)
int
-
- fract(A)
fract
-
- degrees(A)
degrees
-
- radians(A)
radians
-
- normalize(A)
normalize
-
- exp10(A)
exp10
-
- exp2(A)
exp2
-
- exp(A)
exp
-
- log10(A)
log10
-
- log2(A)
log2
-
- ln(A)
ln
-
- sin(A)
sin
-
- cos(A)
cos
-
- tan(A)
tan
-
- asin(A)
asin
-
- acos(A)
acos
-
- atan(A)
atan
-
- dbtopow(A)
dbtopow
-
- powtodb(A)
powtodb
-
- dbtoamp(A)
dbtoamp
-
- amptodb(A)
amptodb
-
- length(A)
length
-
- compadd(A)
compadd
-
- compsub(A)
compsub
-
- compmult(A)
compmult
-
- compdiv(A)
compdiv
-
- compavg(A)
compavg
-
- compmin(A)
compmin
-
- compmax(A)
compmax
-
Pre Add
preadd
-
Multiply
mult
-
Post Add
postadd
-
Post Operation
postoper
- ⊞ -
- None
none
-
- abs(A)
abs
-
- sign(A)
sign
-
- sqrt(A)
sqrt
-
- A * A
square
-
- 1 / A
inverse
-
- round(A)
round
-
- floor(A)
floor
-
- ceil(A)
ceil
-
- int(A)
int
-
- fract(A)
fract
-
- degrees(A)
degrees
-
- radians(A)
radians
-
- normalize(A)
normalize
-
- exp10(A)
exp10
-
- exp2(A)
exp2
-
- exp(A)
exp
-
- log10(A)
log10
-
- log2(A)
log2
-
- ln(A)
ln
-
- sin(A)
sin
-
- cos(A)
cos
-
- tan(A)
tan
-
- asin(A)
asin
-
- acos(A)
acos
-
- atan(A)
atan
-
- dbtopow(A)
dbtopow
-
- powtodb(A)
powtodb
-
- dbtoamp(A)
dbtoamp
-
- amptodb(A)
amptodb
-
- length(A)
length
-
- compadd(A)
compadd
-
- compsub(A)
compsub
-
- compmult(A)
compmult
-
- compdiv(A)
compdiv
-
- compavg(A)
compavg
-
- compmin(A)
compmin
-
- compmax(A)
compmax
-
Map from Low
fromlow
-
Map from High
fromhigh
-
Map to Low
tolow
-
Map to High
tohigh
-
Quantize
quantize
- ⊞ -
- Off
off
-
- > 0
gt0
-
- >= 0
gteq0
-
- == 0
eq0
-
- != 0
neq0
-
- <= 0
lteq0
-
- < 0
lt0
-
- Floor
floor
-
- Round
round
-
- Ceiling
ceiling
-
Cast to
castto
- ⊞ -
- Automatic
auto
-
- Float
float
-
- Int
int
-
Output Attribute Scope
outputattscope
- ⊞ -
- P
P
-
- N
N
-
- Color
Color
-
- Color(0) Color(1) Color(2)
Color(0) Color(1) Color(2)
-
- Tex
Tex
-
- PointScale
PointScale
-
- LineWidth
LineWidth
-
Override Automatic Attribute
overrideautoattrib
-
New Attribute Type
newattribtype
- ⊞ -
- float
float
-
- double
double
-
- int
int
-
- uint
uint
-
- vector
vector
-
- dvector
dvector
-
- dir
dir
-
- dbl dir
ddir
-
New Attribute Number of Components
attribnumcomps
- ⊞ -
- 1
1
-
- 2
2
-
- 3
3
-
- 4
4
-
New Attribute Default Value
newattribdefaultval
- ⊞ -
- New Attribute Default Value
newattribdefaultval1
-
- New Attribute Default Value
newattribdefaultval2
-
- New Attribute Default Value
newattribdefaultval3
-
- New Attribute Default Value
newattribdefaultval4
-
Parameters - Common Page
Bypass
bypass
-
Delete Input Attributes
delinputattrs
-
Operator Inputs
- Input 0: -
Info CHOP Channels
Extra Information for the Math POP can be accessed via an Info CHOP.
Common POP Info Channels
Common Operator Info Channels
- total_cooks - Number of times the operator has cooked since the process started.
- cook_time - Duration of the last cook in milliseconds.
- cook_frame - Frame number when this operator was last cooked relative to the component timeline.
- cook_abs_frame - Frame number when this operator was last cooked relative to the absolute time.
- cook_start_time - Time in milliseconds at which the operator started cooking in the frame it was cooked.
- cook_end_time - Time in milliseconds at which the operator finished cooking in the frame it was cooked.
- cooked_this_frame - 1 if operator was cooked this frame.
- warnings - Number of warnings in this operator if any.
- errors - Number of errors in this operator if any.
TouchDesigner Build: