File In POP
Summary
The File In POP reads a file and converts it into a POP in GPU memory.
File formats:
.objThe Wavefront Object File Format supports faces (polygons) and line strips (fandltags). Triangulation occurs for polygons with more than 3 sides. It supports texture UV coordinates (Texcoord) and normals. (it uses tinyobj internally).plyThe Stanford Triangle Format supports faces (polygons) through thevertex_indicesproperty in thefaceelement. Polygons with 3 and 4 sides are converted to triangles and quadrelateral primitives in POPs. Polygons with more than 4 sides are converted to closed line strips.red,green,blue,alphaorr,g,b,avertex elements will be read as PointColorwithin POPs.
Older formats are supported as well such as:
.togTouchDesigner Geometry files are exports of other geometry types in a native TouchDesigner format.bhclassicHoudini binary geometry format..hclassicHoudini ASCII geometry format.
You can use http:// URL prefix when specifying a supported file accessible on the network.
Some file formats can be read by both the File In POP and Point File In POP, with the difference being the File In POP only imports attributes and elements listed above. This is a list of files that both OPs can read.
.plyfile format can contain custom attribute data.objfile format
See also: Point File In POP, Alembic In POP, FBX COMP, USD COMP, pop File Format
Parameters - File In Page
Geometry File
file - Contains the full pathname of the geometry file to be read in.
Flip Primitive Faces
flipfacing - Enable flipping the primitive faces of the geometry.
Refresh
refresh - ⊞ - In some modes like Circle, the points can be in a fixed patter or be random.
- Refresh
refresh-
- Refresh Pulse
refreshpulse- Force a check on the file to re-read if it has changed.
Input Color Space
inputcolorspace - ⊞ - Override / set the color space, or use the color space in the file, or assume default if there is none.
- Automatic
automatic-
- sRGB
srgb-
- sRGB - Linear
srgblinear-
- Rec.601 (NTSC)
rec601ntsc-
- Rec.709
rec709-
- Rec.2020
rec2020-
- Rec.2020 ST2084PQ
rec2020st2084pq-
- Rec.2020 HLG
rec2020hlg-
- DCI-P3
dcip3-
- DCI-P3 (D60)
dcip3d60-
- Display P3 (D65)
displayp3d65-
- Display P3 (D65) - Linear
displayp3d65linear-
- ACES2065-1
aces2065-1-
- ACEScg
acescg-
- ACESproxy
acesproxy-
- Passthrough
passthrough-
Input Reference White
inputreferencewhite - ⊞ - Color space to use for the incoming data.
- Default For Color Space
default-
- Standard (SDR)
sdr-
- High (HDR)
hdr-
- UI
ui-
Parameters - Common Page
Bypass
bypass - Pass through the first input to the output unchanged.
Free Extra GPU Memory
freeextragpumem - Free memory that has accumulated when output memory has grown and shrunk.
Delete Input Attributes
delinputattrs - Only output which attributes you specify in this POP - helps isolate attributes into a separate branch.
Info CHOP Channels
Extra Information for the File In 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: