Close

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.

PythonIcon.pngdattoPOP_Class


Parameters - Points Page

Points DAT pointsdat -

New Attribute attr -
Select Columns by attr0columnstype - -
  • Name name -
  • Number number -

Columns attr0columns -

Output Attribute Scope attr0outputscope - -
  • P P -
  • N N -
  • Color Color -
  • Color.i012 Color.i012 -
  • Tex Tex -
  • PointScale PointScale -
  • LineWidth LineWidth -

Override Automatic Attribute attr0overrideauto -

New Attribute Type attr0type - -
  • float float -
  • double double -
  • int int -
  • uint uint -
  • dir dir -
  • dbl dir ddir -

New Attribute Number of Components attr0numcomps - -
  • 1 1 -
  • 2 2 -
  • 3 3 -
  • 4 4 -

Array attr0isarray -

Array Size attr0arraysize -


Parameters - Common Page

Bypass bypass -

Delete Input Attributes 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: