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

public:t-gede-15-1:lab8 [2015/03/10 19:16]
marino [Discussion]
public:t-gede-15-1:lab8 [2015/03/12 11:03] (current)
marino
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/ailab/WWW/wiki/data/pages/public/t-gede-15-1/lab8.txt ยท Last modified: 2015/03/12 11:03 by marino