gonk
Nov 10 2002, 01:16
Is it possible to run 2 or more simulations at once ?...
i.e. simulation =shotSmoke and shotIlluminating;
What is the syntax if it is at all possible. If not is there anymore adjustments in the shotIlluminating . Shotsmoke has all this to tweak with...
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class Smoke
{
interval = 0.01;
// single cloudlet parameters
cloudletDuration = 4.0; // time to live (not including fades)
cloudletAnimPeriod = 1.0; // animation speed
cloudletSize = 0.25;
cloudletAlpha = 1.0;
cloudletGrowUp = 1.5; // grow-up time
cloudletFadeIn = 0.0; // fade-in time
cloudletFadeOut = 5.0; // fade-out time
cloudletAccY = -0.3; // vertical acceleration
cloudletMinYSpeed = 0; // vertical speed range
cloudletMaxYSpeed = 10;
cloudletShape = "cl_basic";
cloudletColor[] = {1, 1, 1, 0};
initT = 1000;
deltaT = -500;
class Table
{
class T1 {maxT = 0; color[] = {0.7, 0.7, 0.7, 1};}
class T2 {maxT = 1000; color[] = {0.4, 0.4, 0.4, 1};}
};
// source parameters
density = 1.0;
size = 1.5;
initYSpeed = 1.0;
timeToLive = 1e20; // time to live (not including fades)
in = 3.0; // fade-in time
out = 0.0; // fade-out time
};
[/QUOTE]<span id='postcolor'>
thx http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/biggrin.gif
i.e. simulation =shotSmoke and shotIlluminating;
What is the syntax if it is at all possible. If not is there anymore adjustments in the shotIlluminating . Shotsmoke has all this to tweak with...
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class Smoke
{
interval = 0.01;
// single cloudlet parameters
cloudletDuration = 4.0; // time to live (not including fades)
cloudletAnimPeriod = 1.0; // animation speed
cloudletSize = 0.25;
cloudletAlpha = 1.0;
cloudletGrowUp = 1.5; // grow-up time
cloudletFadeIn = 0.0; // fade-in time
cloudletFadeOut = 5.0; // fade-out time
cloudletAccY = -0.3; // vertical acceleration
cloudletMinYSpeed = 0; // vertical speed range
cloudletMaxYSpeed = 10;
cloudletShape = "cl_basic";
cloudletColor[] = {1, 1, 1, 0};
initT = 1000;
deltaT = -500;
class Table
{
class T1 {maxT = 0; color[] = {0.7, 0.7, 0.7, 1};}
class T2 {maxT = 1000; color[] = {0.4, 0.4, 0.4, 1};}
};
// source parameters
density = 1.0;
size = 1.5;
initYSpeed = 1.0;
timeToLive = 1e20; // time to live (not including fades)
in = 3.0; // fade-in time
out = 0.0; // fade-out time
};
[/QUOTE]<span id='postcolor'>
thx http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/biggrin.gif