Particle System Operators/render rope: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with ";Render Rope :This render type renders the particles as a ribbon or rope, connected in series from the oldest particle to the newest. Ropes require a specific .vmt type to rende...")
 
m (Added category to the page, added shortpagetitle template)
Line 33: Line 33:
;scale offset by CP distance
;scale offset by CP distance
:If set, will treat the texture_offset as relative to the distance between the two control points.
:If set, will treat the texture_offset as relative to the distance between the two control points.
{{shortpagetitle}}
[[Category: Particle System]]

Revision as of 08:09, 16 June 2019

Render Rope
This render type renders the particles as a ribbon or rope, connected in series from the oldest particle to the newest. Ropes require a specific .vmt type to render properly - it must have $splinetype set to 1 or 2. Additionally, ropes which have $orientation 3 set in their .vmt will use the normal to render oriented to the per-particle normal.


Generic Operator Options

Generic Render Operator Visibility Options

subdivision_count [integer]
The number of polygons, or subdivisions between each particle. More subdivisions will create smoother curves at a performance cost.
texel_size [float]
The visual density of the rope along its length. Quite small numbers may be required.
texture_scroll_rate [float]
The rate at which the texture will scroll along its length
texture_offset
The offset to the initial texture placement. Note that as each new particle is created or as they move, the rope will "scroll" along the length to maintain the specified texel density.


scale CP start/end
Setting these two control points which switch the texture mapping mode of the ropes to be relative to the two control points. This will allow the other "scale" options to work.
scale texture by CP distance
If set, will treat the texel_size as relative to the distance between the two control points, with 1 being a single span of the texture between the two.
scale scroll by CP distance
If set, will treat the texture_scroll_rate as relative to the distance between the two control points.
scale offset by CP distance
If set, will treat the texture_offset as relative to the distance between the two control points.