Nodes VEX nodes

Usages in other examples

Example name Example for

Subtopics

Clear

  • Generates a color using a subsurface scattering calculation ray traced from a point cloud.
  • Computes the absolute value of the argument.
  • Add
    Outputs the sum of its inputs.
  • Adds a new point attribute (or writes to an existing attribute).
  • Adds the specified constant value to the incoming integer, float, vector or vector4 value.
  • Adds the point specified to the group given.
  • Computes a matrix representing the rotation around the axes normal to two vectors by the angle which is between the two vectors.
  • Takes two values for alpha based on the surface orientation relative to the camera …
  • Generates a color using ambient lighting model calculation.
  • And
    Performs a logical “and” operation between its inputs and returns 1 (if all inputs …
  • Generates anti-aliased (fractional brownian motion) noise by using the derivative i…
  • Generates anti-aliased (fractional brownian motion) noise by using the derivative i…
  • Computes attenuated falloff.
  • Outputs the average of its inputs.
  • Computes the average value of a vector argument.
  • Generates a material that simulates banana skin.
  • Takes a float input as a bias to blend between three input regions.
  • Returns two vectors representing the minimum and maximum corners of the bounding bo…
  • Clips the line segment defined by p1 and p2 to the bounding box specified by the min and max corner points.
  • Generates repeating filtered squares.
  • Generates a brick pattern based on the parametric s and t coordinates.
  • Simulates an anti-aliased brick wall.
  • Computes a filtered sample of the texture map specified and returns an RGB color as…
  • Displaces surfaces along their normal using anti-aliased noise, and returns the dis…
  • Generates a burlap displacement pattern useful for simulating rough cloth or weave patterns.
  • Returns float between 0 and 1 which defines a burlap pattern useful for simulating rough cloth or weave patterns.
  • Returns a pixel value in one of the 4 input COPs connected to the VEX COP.
  • Simulates a rough, anti-aliased cardboard surface.
  • Produces a surface displacement that simulates small surface damage using anti-alia…
  • Returns the smallest integer greater than or equal to the argument.
  • Generates a cellular crack displacement suitable for simulating skin, leather, drie…
  • Computes 2D, anti-aliased cellular noise suitable for shading.
  • Returns number between 0 and 1 which defines a checkered pattern useful for visualizing parametric or texture coordinates.
  • Simulates a chrome material defined solely by an environment map and a normal direction.
  • Clamps the input data between the minimum and maximum values.
  • Simulates a simple cloud and sky reflection using anti-aliased noise.
  • Simulates a cloudy sky using 4-dimensional anti-aliased noise, where the fourth noi…
  • Provides a means to change the hue, saturation, intensity, bias, gain and gamma of the input color.
  • Looks up a single sample of RGB or RGBA color from a disk image.
  • Computes a blend (or a mix) of its two color inputs, and outputs the resulting color.
  • This operator converts a vector to a BSDF data type for rendering with PBR.
  • Compares two values and returns true or false.
  • Computes the complement of the argument by subtracting the argument from 1.
  • Produces a surface displacement that simulates small surface imperfections like tho…
  • Outputs a constant value of any VEX data type.
  • Takes a single input of any data type.
  • Returns float between 0 and 1 which defines a crackle pattern useful for simulating the fine grain texture in skin or on a much larger scale dried mudflats.
  • Creates a new point group with the name specified.
  • Computes the cross product between two vectors, defined as the vector perpendicular to input both vectors.
  • Creates divergence-free 3D noise using a curl function.
  • Converts degrees to radians.
  • Works on an image which was rendered as a z-depth image, returning the distance fro…
  • Computes the determinant of a 4×4 or 3×3 matrix.
  • Performs various space conversions for 3D directional data.
  • Displaces the surface along the surface normal by a given amount.
  • Returns the distance between two 3D or 4D points.
  • Returns the closest distance between a point and a segment.
  • Outputs the result of dividing each input value by the next.
  • Divides the incoming integer, float, vector or vector4 value by the specified constant value.
  • Computes the dot product between two vectors.
  • Creates a smooth roll-off of the input color from the center of the geometry to the…
  • Generates an anti-aliased egg-shell material with the typical egg-shell roughness and lack of specularity.
  • Returns a new surface normal (N) which has a slight fine grained bump on it.
  • Sets the environment map (on an infinite sphere) and returns its color.
  • Builds a quaternion with the given euler rotation.
  • Computes the exponential function of the argument.
  • Extracts the translation, rotation, or scale component of a 4×4 transform matrix.
  • Sends a ray from the position P along the direction specified by the direction D.
  • Sends a ray from the position P along the direction specified by the direction D, a…
  • Computes the anti-aliased weight of the step function.
  • This function returns the square root of the area of a 3D input or the length of the derivitive of a float input, such as s or t.
  • Generates 2D fire by modulating the t parametric direction using 3D anti-aliased noise.
  • Takes the value in the source range (srcmin, srcmax) and shifts it to the correspon…
  • Converts a float value to an integer value.
  • Converts sixteen floating-point values to a 4×4 matrix value.
  • Converts nine floating-point values to a matrix3 value.
  • Converts three floating-point values to a vector value.
  • Converts four floating-point values to a vector4 value.
  • This operator converts a float to a BSDF data type for rendering with PBR.
  • Returns the largest integer less than or equal to the argument.
  • Generates 1D and 3D Perlin Flow Noise from 3D and 4D data.
  • Runs the VOP nodes inside its subnetwork until a given condition is true.
  • Computes the fractional component of the argument.
  • Computes the Fresnel reflection/refraction contributions given a normalized incident ray, a normalized surface normal, and an index of refraction.
  • Transforms a position from normal device coordinates to the coordinates in the appropriate space.
  • Returns the front facing normal of a surface, given a surface normal (N) and an incident ray (I).
  • Displaces the surface along the surface normal by an amount equal to the value of a…
  • Sends rays into the scene and contains a subnetwork of VOPs to operate on the information gathered from the shaders of surfaces hit by the rays.
  • Extracts a 4×4 matrix component.
  • Extracts a 3×3 matrix3 component.
  • Gets the transform matrix of a named object in camera (current) space.
  • Extracts a vector component.
  • Extracts a vector4 component.
  • Generates anti-aliased gingham checks similar to a tablecloth pattern.
  • Simulates a translucent material such as glass, and returns the combined color, opacity, and alpha.
  • Provides outputs that represent all the global variables for the current VOP network type.
  • Simulates a hot glow effect to be used in the Fog context, and outputs color and alpha.
  • Returns the gradient of a single channel 3D texture image at a specified position within that image.
  • Converts HSV color space to RGB color space.
  • Simulates the look of hair.
  • Generates a color specifically for curves (hairs) using a lambert lighting model calculation.
  • Generates a normal vector which always faces the camera, parallel to the incidence vector.
  • Generates a color specifically for curves (hairs) using a specular lighting model calculation.
  • Generates a soft halo effect to be used in the Fog context, and outputs color and alpha.
  • Returns 1 if the specified input (0-3) is connected.
  • Computes a mix of high and low frequency, anti-aliased noise with a wide range of applications.
  • Uses the shift value to shift the hue of the input color along the color wheel by the amount of the amplitude.
  • If
    Contains other VOP operators.
  • Passes through the value of the first input if the first input is ultimately connected.
  • Only available in Surface VOP networks.
  • Imports attribute data from the OP connected to the given input.
  • Imports the value of the specified variable from a displacement shader and stores it in “var”.
  • Imports the value of the specified variable from a light shader and stores it in “var”.
  • Imports the value of the specified variable from a surface shader and stores it in “var”.
  • Write VEX code that is put directly into your shader or operator definition.
  • Converts an integer value to a float value.
  • Integrates a 3D image along the line specified by two points.
  • Integrates a 3D image along the line specified by two points.
  • Computes the intersection of a ray with geometry.
  • Intersects a 3D image along the line specified by two points.
  • If given a 3×3 or 4×4 matrix, this operator computes its inverse (or just returns the input matri…
  • Computes the irradiance (the global illumination) at the point P with the normal N.
  • Outputs 1 if the input is ultimately connected, otherwise it outputs 0.
  • Returns 1 if the shader is being evaluated from within a fog shader.
  • Returns true if the normal of the surface is forward facing, and false if it isn’t.
  • Returns 1 if the shader is being evaluated for shadow rays.
  • Generates a color using the Lambert diffuse lighting model calculation.
  • Computes the length of a 3D or 4D vector.
  • Performs a lighting model calculation that generates a color.
  • Computes a 3×3 rotation matrix to orient the z-axis along the vector (to - from) under the transformation.
  • Compute the luminance of the RGB color specified by the input parameter.
  • Builds a general 4×4 transform matrix given an order of transformations (trs), an o…
  • Generates a Mandelbrot pattern.
  • Simulates a shiny marble material.
  • Unpacks a 4×4 matrix into its sixteen components.
  • Unpacks a 3×3 matrix3 into its nine components.
  • Converts a matrix3, representing a rotation, to a quaternion representing the same rotation.
  • Implements a matte shader that occludes geometry behind the surface being rendered.
  • Computes the maximum value of a vector argument.
  • Outputs the maximum value from its inputs.
  • Takes a handle generated by the Meta-Loop Start operator and will import attributes…
  • Takes a handle generated by the Meta-Loop Start operator and will “iterate” to the …
  • Opens a geometry file (which should contain metaballs) and initializes the handle t…
  • Returns the value of the given point attribute at the specified position in the metaball field.
  • Returns the density of the metaball field at the specified position.
  • Transforms the specified position into the local space of the metaball.
  • Returns the metaweight of the geometry at a given position.
  • Computes the minimum value of a vector argument.
  • Outputs the minimum value from its inputs.
  • Mix
    Computes a blend (or a mix) of its input values using linear interpolation.
  • Computes a blend (or a mix) of its input values using linear interpolation
  • Computes the modulo of two values.
  • Simulates anti-aliased mold.
  • Generates an anti-aliased mosaic pattern using an image file as a source for colori…
  • Outputs the product of its inputs.
  • Will take the input value, add the pre-add amount, multiply by the constant multipl…
  • Multiplies the incoming value by a constant.
  • Negates the incoming integer, float, vector or vector4 value.
  • Retrieves the index of the point which is the n-th connected neighbour of point “ptnum”.
  • Calculates the number of points connected to the given point.
  • A non-deterministic random number generator.
  • Generates a falloff value based on the relationship between the normal and incident vectors.
  • Normalizes a vector.
  • Not
    Performs a logical “not” operation on an integer value, returning 1 if the input is…
  • Passes the inputs to the output with an optional name change.
  • Computes ambient occlusion at the point P with the normal N.
  • Or
    Performs a logical “or” operation between its inputs and returns 1 (if at least one…
  • Generates a color using the Oren-Nayar diffuse lighting model calculation.
  • Reorients a vector representing a direction by multiplying it by a 4×4 transform matrix.
  • Returns an anti-aliased cosine or sine wave.
  • Every VOP network requires one of these.
  • Represents a user-controllable parameter.
  • Generates 1D and 3D Perlin noise from 1D, 3D and 4D data.
  • Performs photon russian roulette.
  • Returns the area of the current pixel after being transformed to the new UV coordinate 'uvpos'.
  • Returns U and V derivatives of the current pixel.
  • Clips the line segment defined by p1 and p2 against the 3D plane defined by the following equation: plane.
  • Returns the number of planes in the input.
  • Returns the name of the plane with the index 'plane_index' in input 'input_index'.
  • Returns the index of the plane with the name 'plane_name' in input 'input_index'.
  • Returns the name of the plane with the index 'plane_index' in input 'input_index'.
  • Returns the number of components in the plane with the index 'plane_index' in input 'input_index'.
  • This node closes a point cloud handle opened by pcopen.
  • This node exports point data while inside a pcunshaded loop.
  • This node finds the farthest query point produced by pcopen.
  • This node filters the points queried by pcopen.
  • This node imports point data while inside a pciterate or pcunshaded loop.
  • This node advances to the next iteration point returned by pcopen.
  • This node opens a point cloud file and searches for points around a source position.
  • This node advances to the next unshaded iteration point returned by pcopen.
  • This function writes data for the current shading point out to a point cloud file.
  • Returns the number of points for all primitives in the given geometry.
  • Returns the relative position of the point given with with respect to the bounding …
  • Returns 1 if the point specified by the point number is in the group specified by the string.
  • Only available in Image3D VOP networks.
  • Raises the first argument to the power of the second argument.
  • Evaluates an attribute for a given primitive at the specified uv parametric location.
  • Returns the normal of a primitive (defined by its number) at the given uv parametric location.
  • Generate a formatted text string.
  • Filters the input
  • Takes an angle and an axis and constructs the quaternion representing the rotation about that axis.
  • Performs a quaternion multiplication with its two inputs.
  • Converts a vector4, representing a quaternion, to a matrix3 value, representing the same rotation.
  • Converts RGB color space to HSV color space.
  • Converts radians to degrees.
  • Generates a non-repeating rainbow color ramp by modulating the hue over the range o…
  • Represents a user-editable ramp parameter.
  • Generates repeating filtered ramps.
  • Generates a random number based on the position in one, three, or four dimensions.
  • Returns the current ray-bounce level.
  • Returns the amount that the current bounce level will contribute to the final pixel color.
  • Sends a ray from the position P along the direction specified by the direction D, a…
  • Sends a ray starting at origin P and in the direction specified by the normalized vector D.
  • Returns the vector representing the reflection of the direction against the normal vector.
  • Computes the amount of reflected light which hits the surface.
  • Simulates a material with reflective properties and returns the computed color.
  • Computes the refraction ray given an incoming direction, the normalized normal and an index of refraction.
  • Sends a ray starting at origin P and in the direction specified by the normalized vector I.
  • Returns the pixel resolution of an input.
  • Checks if the geometry attribute “rest” is bound and, if so, uses it as the rest position for shading.
  • Generates repeating filtered rings.
  • Generates repeating ripples.
  • Applies a rotation by 'angle' radians to the given 3×3 or 4×4 matrix.
  • Rounds the argument to the closest integer.
  • Generates repeating filtered rounded hexagons.
  • Generates repeating filtered rounded five-pointed stars.
  • Simulates a rusty, possibly perforated material.
  • Scales a 3×3 or 4×4 matrix by 'amount' units along the x,y, and z axes.
  • Generates a scale-like pattern and returns the displaced position, normal, and displacement amount.
  • Assigns a value to one of the matrix’s components.
  • Assigns a value to one of the matrix3’s components.
  • Assigns a value to one of the vector’s components.
  • Assigns a value to one of the vector4’s components.
  • Computes the shading area of the given variable.
  • Computes the derivative of a given variable with respect to the s or t parametric coordinate.
  • Creates a parameter to appear in the signature of the VEX function defined by the VOP network (VOPNET).
  • Computes the normal at the location specified by the P position.
  • This shader calls the shadow shader inside an illuminance loop.
  • Shadow Map treats the depth map as if the image were rendered from a light source.
  • Implements a shadowmatte shader that occludes geometry behind the surface being rendered.
  • Generates a color using a specular lighting model with a Fresnel falloff calculation.
  • Simulates a shiny metallic material with strong reflective properties.
  • Returns -1 if the input is less than 0, otherwise it returns 1.
  • Generates a color with a non-raytraced subsurface scattering lighting model calculation.
  • Generates anti-aliased skin with optional blemish.
  • Generates a material that simulates clouds, smoke, fire, and other gaseous phenomena on small spheres.
  • Computes a number between zero and one.
  • Generates repeating soft dots.
  • Performs various space conversions for 3D and 4D positional data.
  • Queries the scene for a geometry object, light or fog object of the given name.
  • Generates a color using the selected specular lighting model calculation.
  • Computes a spherical linear interpolation between its two quaternion inputs, and ou…
  • Generates a splatter pattern and returns the splatter amount.
  • Computes either a Catmull-Rom (Cardinal) spline or a Linear spline between the spec…
  • Computes the square root of the argument.
  • Simulates a rough, non-descript stone material.
  • Simulates an anti-aliased stone wall.
  • Generates repeating filtered stripes.
  • Simulates an anti-aliased stucco material, with its typical bumpy surface and light color.
  • Contains other VOP operators.
  • Allows the connection of operators outside a subnet to operators inside the subnet.
  • Allows the connection of operators inside a subnet to operators outside the subnet.
  • Outputs the result of subtracting all its inputs.
  • Generates a basic color with a choice of tinting with the point color and/or a color map.
  • Outputs the value connected to one of its inputs.
  • Computes a filtered sample of the texture map specified and returns an RGB or RGBA color.
  • Returns the value of a 3D image at a specified position within that image.
  • Queries the 3D texture map specified and returns the bounding box information for t…
  • Performs a lighting model calculation that generates a color.
  • Simulates the effect of light reflecting on surfaces with a thin-film coating, such…
  • Generates staggered rectangular tiles.
  • Generates staggered hexagonal tiles.
  • Returns the frame range and rate of the given input.
  • Transforms a position into normal device coordinates.
  • Uses the vex gather function to send a ray and return with the reflected or refracted colors.
  • Transforms a vector to or from an object’s transform space, or one of several other spaces, such as world or camera space.
  • Translates a 4×4 matrix 'amount' units along the x,y,z and possibly w axes.
  • Performs a variety of trigonometric functions.
  • Can compute three types of 1D and 3D noise with the ability to compute turbulence w…
  • Generates a two sided surface.
  • Performs simple, cartoon-like shading.
  • Takes an integer input.
  • Returns texture coordinates or geometric s and t, depending on what is defined.
  • Disturbes the incoming parametric s and t coordinates using anti aliased noise gene…
  • Assigns texture coordinates based on the specified projection type.
  • Performs various space conversions of 3D positional data for uv shading purposes.
  • Transforms texture coordinates by the inverse of the matrix consisting of the trans…
  • Provides outputs that represent all the global variables for the Force VOP network type.
  • Simple output variable for VOP Force Networks.
  • Converts between different vector types.
  • Unpacks a vector into its three components.
  • Converts a vector to a vector4.
  • Unpacks a vector4 into its four components.
  • Converts a vector4 to a vector and also returns the fourth component of the vector4.
  • Generates an anti-aliased vein pattern that can be used in any VEX context.
  • Calculates the gradient of a volume primitive.
  • Calculates the gradient of a volume primitive stored in a disk file.
  • Gets the value of a specific voxel.
  • Converts a volume index into a position.
  • Calculates the position of a voxel in a volume primitive stored in a disk file.
  • Gets the value of a voxel from a volume primitive stored in a disk file.
  • Converts a position into a volume index.
  • Calculates the voxel closest to a voxel of a volume primitive stored in a disk file.
  • Gets the resolution of a volume primitive.
  • Gets the resolution of a volume primitive stored in a disk file.
  • Samples the value of a volume primitive.
  • Samples the value of a volume primitive stored in a disk file.
  • Provides outputs that represent all the global variables for the Volume VOP network type.
  • Simple output variable for Volume VOP Networks.
  • Computes 1D, 3D, and 4D Voronoi noise, which is similar to Worley noise but has add…
  • Simulates marine water of variable depth and visibility.
  • Simulates rolling waves with choppiness of various frequencies, and outputs the pos…
  • Runs the VOP nodes inside its subnetwork as long as a given condition is true.
  • Returns float between 0 and 1 which defines a wire grid pattern useful for simulating screens or visualizing parametric or texture coordinates.
  • Implements a wireframe shader and outputs the final, lit color and opacity.
  • Simulates shiny wood grain.
  • Simulates anti-aliased wooden planks.
  • Computes 1D, 3D, and 4D Worley noise, which is synonymous with “cell noise”.