Slow Animation due VR Tracer

Hello,
I'm using the VR Tracer Block to display the trajectory of a moving object in 3d animation. The longer the simulation runs the slower it is. Without the VR Tracer Block the simulation runs with constant speed during the whole simulation (a few minutes). Neither not connecting the traced objects (Pyramid, Box, Sphere, ...) nor reducing the distance between the objects makes the animation faster.
Is there a way to fasten the simulation or to display the trajectory in a different way?
Thank you and regards

回答 (1 件)

Jan Houska
Jan Houska 2013 年 1 月 11 日

0 投票

The simulation gets slower because of increasing number of objects in the virtual world. If you want to speed up the simulation, it is important to have as little new objects as possible. This can be achieved like this:
  • Turn off the markers (marker shape set to none), use just the connecting line
  • Turn off plane or point projections (if used)
  • Increase the sampling period of the VR Tracer block
The last item is especially important, you can tune performance vs. appearance very nicely using the sampling period parameter. The shorter the period, the finer the connecting line but the slower the simulation.

カテゴリ

ヘルプ センター および File ExchangeAnimation についてさらに検索

質問済み:

2013 年 1 月 9 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by