Справка Houdini на русском Nodes VOP nodes

Output Variables and Parameters VOP node

Provides inputs representing the writable output variables of the shader network.

On this page

Every VOP network type has a set of global variables associated with it. These are the variables inherent to the VEX context that the VOP network operates in. For shading contexts (such as Surface and Displacement) these will be variables like the position of the point on the geometry being shaded (P), or the normal of the surface at the point being shaded (N). For SOP or POP Operator networks, these variables include the position of the point being manipulated (P), and the point number of the point being manipulated (ptnum).

The inputs on this node are a subset of the outputs available on the Global Variables node, where the globals node represents all available global variables and this node represents new values for the variables you can change.

Every VOP network starts with this node already in the network. It is possible to delete it (for example, if you only deal with export variables and don’t care about global outputs) but you should probably avoid doing so.

Note

This node drives the generation of VEX code from the VOP network. Only nodes you directly or indirectly connect to the output node will be used to generate shader code.

Parameters

Generate Code for This Node Last

You should always have this option turned on unless you have some backwards compatibility problem with old shader code.

When this option is on, the code for this node appears after the code for all other nodes in this VOP Network, ensuring global variable values are not modified until the very end of the function.

Parameter order table

Lets you change the order and grouping of shader parameters in the generated user interface.

  • Drag rows or use the up-arrow button to reorder parameters.

  • Click the right-pointing triangle at the end of a parameter row to put the parameter inside a new group. Groups appear as tabs in the user interface.

  • Click a group start row (a row containing a { character) to rename the group.

Examples

The following examples include this node.

Street Crowd Example Example for Crowd Solver dynamics node

DensityViscosity Example for FLIP Solver dynamics node

FlipColorMix Example for FLIP Solver dynamics node

FlipColumn Example for FLIP Solver dynamics node

FlipFluidWire Example for FLIP Solver dynamics node

SpinningFlipCollision Example for FLIP Solver dynamics node

PaintedGrog Example for Fluid Object dynamics node

DiffuseSmoke Example for Gas Diffuse dynamics node

TimelessGas Example for Gas Particle to Field dynamics node

grass

FluidGlass Example for Particle Fluid Solver dynamics node

PopFlow Example for Particle Fluid Solver dynamics node

CurveForce Example for POP Curve Force dynamics node

2dfluid Example for Smoke Object dynamics node

BreakWire Example for Wire Solver dynamics node

RainbowGeometryLight

IndirectLightBox Example for Indirect Light object node

StickyDonut Example for Sticky object node

MotionVector Example for Mantra render node

Volume Rendering - Metaballs as Volume Example for Mantra render node

RampReference

Down Hill Lava Flow Example for Material shader node

FirePit Example for Material shader node

StyleDisplacement Example for Material shader node

VolumeNoiseIso Example for Mantra: VEX Volume Procedural shader node

BlendAttr Example for Attribute Composite geometry node

RandomMaterial Example for Attribute String Edit geometry node

FluffyTorus Example for Bake Volume geometry node

PathAnalysis Example for Find Shortest Path geometry node

repeatsmooth

FurBallWorkflow Example for Fur geometry node

FurPipelineExample Example for Fur geometry node

FurTextureMap Example for Fur geometry node

Shaved Example for Fur geometry node

PaintPoints Example for Paint geometry node

AlphaOmega Example for Points from Volume geometry node

UnpackWithStyle Example for Unpack geometry node

volumeanalysis_grad Example for Volume Analysis geometry node

volumesurface_explicitgrade Example for Volume Surface geometry node

volumesurface_simple Example for Volume Surface geometry node

pscaleVOPSOP Example for Add Attribute VOP node

GroupPainted Example for Add Point to Group VOP node

VOPpointgroup Example for Add Point to Group VOP node

WornMetal Example for Curvature VOP node

ST_Colour

SimpleInsideSubnet

SimpleOutsideSubnet

CrinkleSphere Example for Inline Code VOP node

IntersectGrid Example for Intersect VOP node

SimpleMetaImport Example for Meta-Loop Import VOP node

RampParameter Example for Parameter VOP node

parameterVOP Example for Parameter VOP node

PointCloudIterateAverage Example for Point Cloud Iterate VOP node

PointCloudWrite Example for Point Cloud Write VOP node

RaytraceVopShader Example for Ray Trace VOP node

SensorDeform Example for Sensor Panorama Create VOP node

ParticleVolumeCollision Example for Volume Sample VOP node

See also

VOP nodes