PART (File Format): Difference between revisions
Jump to navigation
Jump to search
→PART Keys
imported>Jackoalan |
imported>Jackoalan |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{research|1|Key descriptions are subject to corrections}} | {{research|1|Key descriptions are subject to corrections}} | ||
The '''PART''' [[Effect Script|effect script]] format is used to configure ''particle effects''. | The '''PART''' [[Effect Script|effect script]] format is used to configure ''particle effects''. | ||
Line 120: | Line 119: | ||
|<code>ICTS</code> | |<code>ICTS</code> | ||
|Constant | |Constant | ||
|<code>int</code> ( | |<code>int</code> ([[PART (File Format)|PART]] ref) | ||
|Concurrent particle-system | |Concurrent particle-system | ||
|Specifies an external particle script to construct into a parallel system that shares time and space. | |Specifies an external particle script to construct into a parallel system that shares time and space. | ||
Line 126: | Line 125: | ||
|<code>IDTS</code> | |<code>IDTS</code> | ||
|Constant | |Constant | ||
|<code>int</code> ( | |<code>int</code> ([[PART (File Format)|PART]] ref) | ||
|Deferred particle-system | |Deferred particle-system | ||
|Specifies an external particle script to construct a particle system that shares space, but doesn’t start emitting until this system’s emitter stops. | |Specifies an external particle script to construct a particle system that shares space, but doesn’t start emitting until this system’s emitter stops. | ||
Line 146: | Line 145: | ||
|<code>float</code> | |<code>float</code> | ||
|View-aligned rotation angle | |View-aligned rotation angle | ||
|Angle (in degrees) to rotate the particle counter-clockwise around the view-axis. | |Angle (in degrees) to rotate the particle counter-clockwise around the view-axis. In <code>ORNT</code> mode, this specifies the particle's aspect ratio instead. | ||
|- | |- | ||
|<code>POFS</code> | |<code>POFS</code> | ||
|Particle | |Particle | ||
|<code>float3</code> | |<code>float3</code> | ||
| | |Particle offset | ||
|Vector to translate particle instance | |Vector to translate particle instance within system | ||
|- | |- | ||
|<code>COLR</code> | |<code>COLR</code> | ||
Line 168: | Line 167: | ||
|<code>TEXR</code> | |<code>TEXR</code> | ||
|Constant | |Constant | ||
|<code>int</code> ( | |<code>int</code> ([[TXTR (File Format)|TXTR]] ref), <code>ATEX</code> | ||
|Texture attachment | |Texture attachment | ||
|Specifies the texture resource to map to each particle instance’s surface. | |Specifies the texture resource to map to each particle instance’s surface. | ||
Line 174: | Line 173: | ||
|<code>TIND</code> | |<code>TIND</code> | ||
|Constant | |Constant | ||
|<code>int</code> ( | |<code>int</code> ([[TXTR (File Format)|TXTR]] ref) | ||
|Indirect texture attachment | |Indirect texture attachment | ||
|Certain particle effects are drawn after the main scene against the player’s ‘visor’. Effects that simulate visor water-droplet refraction use an indirect texture to warp texture coordinates when sampling the underlying scene. | |Certain particle effects are drawn after the main scene against the player’s ‘visor’. Effects that simulate visor water-droplet refraction use an indirect texture to warp texture coordinates when sampling the underlying scene. |