Close

Experimental:TOP to POP

Summary

Position and Active is a shortcut for P in RGB, and alpha is set to 1 for active pixels (pixels with a valid attribute value).

Using Custom you specify which attribute and components you want in the RGBA of the TOP, so max 4 could be P(0) Color(2) N(1) P(2).

When you Use Dimension all pixels are active since the resolution matches the TOP When using the other modes you can end up with unused pixels (you have 40 points, fit to square gives you 7x7, so you end up with 9 unused pixels), alpha is only set to 1 for used pixels.

PythonIcon.pngtoptoPOP_Class


Parameters - Inputs Page

First RGBA Contains rgba - -
  • Color color -
  • Position and Active pactive -
  • Depth depth -
  • Height height -
  • Custom custom -
  • Position (RGB) pos -

Max Number of Points maxpointsenable -

Number of Points maxpoints -

TOP input -
TOP input0top -

Channel Scope input0chanscope - -
  • r r -
  • g g -
  • b b -
  • a a -

Attribute Scope input0attrscope - -
  • P P -
  • P.i01 P.i01 -

Filter input0filter - -
  • Nearest Pixel nearest -
  • Interpolate Pixels linear -
  • High Quality Resize highquality -

New Attribute attr -
New Attribute Name attr0name - -
  • Custom custom -
  • N n -
  • Color color -
  • Tex tex -
  • PointScale pointscale -
  • LineWidth linewidth -

Custom Name attr0customname -

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

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

New Attribute Default Value attr0defvalue - -
  • New Attribute Default Value attr0defvalue1 -
  • New Attribute Default Value attr0defvalue2 -
  • New Attribute Default Value attr0defvalue3 -
  • New Attribute Default Value attr0defvalue4 -


Parameters - Detail Page

Connectivity surftype - -
  • None none -
  • Lines lines -
  • Line Strips linestrips -
  • Triangles triangles -
  • Alternating Triangles alttriangles -
  • Quadrilaterals quads -
  • Point Prims points -

Line X/Y/Z line - -
  • Line X/Y/Z line1 -
  • Line X/Y/Z line2 -
  • Line X/Y/Z line3 -

Plane XY/YZ/ZX plane - -
  • Plane XY/YZ/ZX plane1 -
  • Plane XY/YZ/ZX plane2 -
  • Plane XY/YZ/ZX plane3 -

Unique Points uniquepoints -

Center t - -
  • Center tx -
  • Center ty -
  • Center tz -

Override Size overridesize - -
  • Override Size overridesize0 -
  • Override Size overridesize1 -
  • Override Size overridesize2 -

Size size - -
  • Size size1 -
  • Size size2 -
  • Size size3 -

Override Resolution overrideres - -
  • Override Resolution overrideres0 -
  • Override Resolution overrideres1 -
  • Override Resolution overrideres2 -

Resolution res - -
  • Resolution resx -
  • Resolution resy -
  • Resolution resz -

Pixel Sampling Location pixelsamplingloc - -
  • Edge to Edge edgetoedge -
  • Pixel Centered pixelcentered -

Texture Coordinates texture - -
  • None none -
  • Point point -
  • Vertex vert -

Append Dimension dimension - -
  • When Rows Cols Slices > 1 morethanone -
  • Always for Rows Cols rowscolsalways -
  • Always for Rows Cols Slices rowscolsslicesalways -


Parameters - Depth Page

Rerange from rerangefrom - -
  • Rerange from rerangefrom1 -
  • Rerange from rerangefrom2 -

Rerange to rerangeto - -
  • Rerange to rerangeto1 -
  • Rerange to rerangeto2 -

Camera camera -

Override Camera View overridecamera -

View Angle Method viewanglemethod - -
  • Horizontal FOV horfov -
  • Vertical FOV vertfov -
  • Focal Lengths focallengths -

FOV Angle fov -

Focal Length (Fx, Fy) focallengths - -
  • Focal Length (Fx, Fy) focallengths1 -
  • Focal Length (Fx, Fy) focallengths2 -

Optical Center (Cx, Cy) center - -
  • Optical Center (Cx, Cy) center1 -
  • Optical Center (Cx, Cy) center2 -

Delete Near Points deletenear -

Near Depth depthnear -

Delete Far Points deletefar -

Far Depth depthfar -


Parameters - Height Page

Displacement Scale dispscale -


Parameters - Common Page

Bypass bypass -

Delete Input Attributes delinputattrs -


Info CHOP Channels

Extra Information for the TOP 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: