The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
Heat Glow
«
1
»
Heat Glow
sillu129
14th Nov 2010
Member
0
Permalink
Can somebody please say what code i should use if i would want to make material glow more if there is more heat.
pilojo
14th Nov 2010
Member
0
Permalink
sillu129
If you look at glow.. it has if(pv[ny/CELL][nx/CELL]>0) ... replace it with (if parts[i].temp = 500)
sillu129
14th Nov 2010
Member
0
Permalink
ok thnx
MiXih
14th Nov 2010
Member
0
Permalink
pilojo
FAIL
That only works when temp is 500. And ( after if, no before.
if(parts[i].temp >= 273+<tempthatyouwant>)
sillu129
14th Nov 2010
Member
0
Permalink
ok but i still got two problems
1. the particles glow only when they are together i want them to glow separeatly
2. how i change the starting colour from green to grey
i wanted to make metal powder glow so they would look like metal sparks
«
1
»