Import Select SOP

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

The Import Select SOP is used to import and load the geometry types primitives defined in USD COMP and FBX COMP. It essentially loads any geometry type that USD COMP or FBX COMP can support such as a Mesh, Points, NURBS Curves or Patches, Basis Curves. Each geometry represents one primitive from the loading file or it can be a set of primitives merged together for better performance.

In USD COMP and FBX COMP if the Import Select SOP renders merged geometries, an Info DAT operator is created next to this SOP which represents the original paths of primitives within/from importing file, which can be useful for user to checkout what geometry the current SOP is made of. Import Select SOP can have its own animation controls within the Playback page or use the settings from its parent COMP.

The imported geometry can be loaded directly from GPU or CPU, depending on whether the Straight To GPU toggle is set to ON or not at the parent COMP node.

PythonIcon.pngimportselectSOP_Class


Parameters - General Page

Geo Path geometry - The geometry path from the imported file.  

Compute Tangents comptang - A toggle to compute the tangents for this SOP.  

Parameters - Playback Page

Use Parent Animation useparentanim - A toggle to specify whether to use the parent COMP animation controls or have a custom setting for this SOP.  

Shift Animation Start shiftanimationstart - A toggle to specify whether to shift the animation to the start of animation indicated in the importing file.  

Sample Rate Mode sampleratemode - - A menu to choose between the FPS or use a custom sample rate.

  • File FPS filefps - uses the FPS from what is defined in the importing file.
  • Custom custom - a desired value specified by Sample Rate parameter.

Sample Rate samplerate - It is used to specify the sample rate (FPS) for the animation. This parameter is disabled by default and can be enabled once the Custom option is selected from the Sample Rate Menu.  

Play Mode playmode - - A menu to specify the method used to play the animation.

  • Locked to Timeline lockedtotimeline - This mode locks the animation position to the timeline. The parameters Play, Speed, Index, Cue and Cue Point, are disabled in this mode since the timeline is directly tied to animation position.
  • Specify Index specifyindex - This mode allows the user to specify a particular index (position) in the animation using the Index parameter below. Use this mode for random access to any location in the animation.
  • Sequential sequential - This mode continually plays regardless of the timeline position (the Index parameter is disabled). Play, Speed, Cue, and Cue Point parameters below are enabled to allow some control. The default is set to this value.

Initialize initialize - Resets the animation to its initial state.  

Start start - Resets the animation to its initial state and starts playback.  

Cue cue - A toggle to jump to Cue Point when it is set to ON and it stays at that position. Only available when Play Mode is Sequential.  

Cue Pulse cuepulse - When pressed the animation jumps to the Cue Point and continues from that point.  

Cue Point cuepoint - Set any index in the animation as a point to jump to.  

Cue Point Unit cuepointunit - - Specifies a unit type for Cue Point. Changing this will convert the previous unit to the selected unit.

  • Frames frames -
  • Seconds seconds -
  • Fraction fraction -
  • Index indices -

Play play - A toggle that makes the animation to play when it sets to ON. This Parameter is only available/enabled if the Sequential mode is selected from the Play Mode.  

Index index - This parameter explicitly sets the animation position when Play Mode is set to Specify Index. The units’ menu on the right lets you specify the index in the following units: Index, Frames, Seconds, and Fraction (percentage).  

Index Unit indexunit - - Specifies a unit type for Index. Changing this will convert the previous unit to the selected unit.

  • Frames frames -
  • Seconds seconds -
  • Fraction fraction -
  • Index indices -

Speed speed - This is a speed multiplier which only works when Play Mode is Sequential. A value of 1 is the default playback speed. A value of 2 is double speed, 0.5 is half speed and so on.  

Trim trim - A toggle to enable the Trim Start and Trim End parameters.  

Trim Start tstart - Sets an in point from the beginning of the animation, allowing you to trim the starting index of the animation. The units’ menu on the right let you specify this position by index, frames, seconds, or fraction (percentage).  

Trim Start Unit tstartunit - - Specifies a unit type for Trim Start. Changing this will convert the previous unit to the selected unit.

  • Frames frames -
  • Seconds seconds -
  • Fraction fraction -
  • Index indices -

Trim End tend - Sets an end point from the end of the movie, allowing you to trim the ending index of the animation. The units’ menu on the right let you specify this position by index, frames, seconds, or fraction (percentage).  

Trim End Unit tendunit - - Specifies a unit type for Trim End. Changing this will convert the previous unit to the selected unit.

  • Frames frames -
  • Seconds seconds -
  • Fraction fraction -
  • Index indices -

Extend Left textendleft - - Determines how the parent COMP handles animation positions that lie before the Trim Start position. For example, if Trim Start is set to 1, and the animation current index is -10, the Extend Left menu determines how the animation position is calculated.

  • Hold hold -
  • Cycle cycle -
  • Mirror mirror -

Extend Right textendright - - Determines how the parent COMP handles animation positions that lie after the Trim End position. For example, if Trim End is set to 20, and the animation current index is 25, the Extend Right menu determines how the animation position is calculated.

  • Hold hold -
  • Cycle cycle -
  • Mirror mirror -

TouchDesigner Build:

SOPs
Add • Alembic • Align • Arm • Attribute Create • Attribute • Basis • Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • CPlusPlus • Creep • Curveclay • Curvesect • DAT to • Deform • Delete • Divide • Extrude • Facet • File In • Fillet • Fit • Font • Force • Fractal • Grid • Group • Hole • Import Select • In • Introduction To SOPs id • Inverse Curve • Iso Surface • Join • Joint • Kinect • Lattice • Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Profile • Project • Rails • Experimental:Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Wireframe • ZED

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.

An Operator Family that contains its own Network inside. There are twelve 3D Object Component and eight 2D Panel Component types. See also Network Path.

The Graphics Processing Unit. This is the high-speed, many-core processor of the graphics card/chip that takes geometry, images and data from the CPU and creates images and processed data.

The location of an operator within the TouchDesigner environment, for example, /geo1/torus1, a node called torus1 in a component called geo1. The path / is called Root. To refer instead to a filesystem folder, directory, disk file or http: address, see Folder.

samples-per-second of a CHOP. Each CHOP in your network has a sample rate, whether it is used or not. The overall timeline has a "frame rate", which is the number of animation frames per second, generally your monitor display frequency.

The frame rate that TouchDesigner's Timeline uses. Equal to the Frames per Second value project.cookRate.

The panel at the bottom of TouchDesigner, it controls the current Time of the full system or just one component.

Each SOP has a list of Points. Each point has an XYZ 3D position value plus other optional attributes. Each polygon Primitive is defined by a vertex list, which is list of point numbers.

To pulse a parameter is to send it a signal from a CHOP or python or a mouse click that causes a new action to occur immediately. A pulse via python is via the .pulse() function on a pulse-type parameter, such as Reset in a Speed CHOP. A pulse from a CHOP is typically a 0 to 1 to 0 signal in a channel.