User Tools

Site Tools


public:t-gede-15-1:lab8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-gede-15-1:lab8 [2015/03/10 19:16] – [Discussion] marinopublic:t-gede-15-1:lab8 [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 42: Line 42:
 time_to_live 10 time_to_live 10
 // Colour the particles red with a fully opaque alpha value. // Colour the particles red with a fully opaque alpha value.
-Colour 1 0 0 1</code>+colour 1 0 0 1</code>
   - **Now we will add some Additional variation** Lets make the time to live random, and give them colour a certain range. We do that by changing the time_to_live and colour attributes in the emitter block. Also change the emission rate to 30 increasing the rate of which the particles spawn. <code cpp>// Destroy the particle after 1 to 4 seconds.   - **Now we will add some Additional variation** Lets make the time to live random, and give them colour a certain range. We do that by changing the time_to_live and colour attributes in the emitter block. Also change the emission rate to 30 increasing the rate of which the particles spawn. <code cpp>// Destroy the particle after 1 to 4 seconds.
 time_to_live_min 1 time_to_live_min 1
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-15-1/lab8.1426014974.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki