Jump to content
Sign in to follow this  
gonk

Running simulations

Recommended Posts

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

};

<span id='postcolor'>

thx biggrin.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×