Your clues are very useful ;)
I've played with that parameters and it works really good, up to 20 times
faster ;)
Thanks for your help!
Pau Sanchez
On 3/9/06, Richard vaughan <vaughan@...> wrote:
>
>
> On 9-Mar-06, at 6:04 AM, Pau Sanchez wrote:
>
> > I've readed (for earlier player/stage versions) that there exist a
> > "fast mode" in player/stage, so with this mode enabled, one can run
> > simulations faster than "real-time".
> >
> > I've downloaded latest released version of both player and stage
> > (version 2.0.0), and I tried to run player examples in "fast" mode,
> > but without success.
> >
> > The only thing I've found is the "stest" test application in stage,
> > that runs 10x faster than realtime. So that is why I supposed this
> > "fast-mode" is also possible when using player client, but I didn't
> > find anything.
>
> > So, my questions are:
> > Is this "fast-mode" option still avaiable in version 2.0.0?
>
> No, but see below.
>
> > If that is possible, what do I have to do to enable it? any command
> > line options? any config. file options?
>
> Just change these worldfile parameters:
>
> interval_sim 100 # milliseconds per update step
> interval_real 100 # real-time milliseconds per update step
>
> When these are the same, Stage runs at approximately real time. If
> you set interval_real to less than interval_sim, it runs faster than
> real time, if it can. If you set interval_real to 0, Stage runs as
> fast as it can go, and eats a lot of CPU. The version in CVS HEAD
> also has the parameter
>
> gui_interval 100
>
> If you make this interval BIGGER the window is redrawn less
> fequently, saving lots of time so Stage can run faster. For proof,
> see the stest from CVS HEAD - it runs at 50 times realtime on my
> machine.
>
> If you're using lasers, you may also want to try setting
> laser_sample_skip parameter also in CVS HEAD:
>
> laser( laser_sample_skip 1 )
>
> settting this > 1 will do less laser ray tracing, interpolating the
> missing values. This is very fast but reduces the quality of your
> data. For most applications setting this to 2 or 3 works very well.
> It's even faster just to reduce the number of laser samples if your
> client code can deal with that.
>
> I will eventually write a HOWTO Run Stage Very Fast, but there are
> some clues for now.
>
> Richard/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
|