Experimental:DAT to POP
Summary
The DAT to POP converts a DAT table into a POP point list, where each column is a name heading followed by values, one row per POP point. The table must be structured as you get with POP to DAT, though for DAT to POP you don't need an index
column as it is automatically implied.
The column headers need to be in the usual POP form. Vectors (like float3) must be expressed as one column per component of the vector, with headings, for example, P(0)
or Color(3)
. Arrays components must be in MyArray[0]
etc form.
In each sequential block, you need to specify an attribute to create. You can use ?
in P(?)
to specify that columns P(0)
, P(1)
and P(2)
will form a float3 vector P
.
At present, DAT to POP cannot convert or specify primitives or vertices of primitives. This will we implemented at a later date, at which time you will be able to represent any POP as three or four DATs.
Parameters - Points Page
pointsdat
-
attr
-
attr0columnstype
- ⊞ -
- Name
name
-
- Number
number
-
attr0columns
-
attr0outputscope
- ⊞ -
- P
P
-
- N
N
-
- Color
Color
-
- Color.i012
Color.i012
-
- Tex
Tex
-
- PointScale
PointScale
-
- LineWidth
LineWidth
-
attr0overrideauto
-
attr0type
- ⊞ -
- float
float
-
- double
double
-
- int
int
-
- uint
uint
-
- dir
dir
-
- dbl dir
ddir
-
attr0numcomps
- ⊞ -
- 1
1
-
- 2
2
-
- 3
3
-
- 4
4
-
attr0isarray
-
attr0arraysize
-
Parameters - Common Page
bypass
-
delinputattrs
-
Info CHOP Channels
Extra Information for the DAT to 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: