Slow Animation due VR Tracer

2 views (last 30 days)
Marcus
Marcus on 9 Jan 2013
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

Answers (1)

Jan Houska
Jan Houska on 11 Jan 2013
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.

Categories

Find more on Simulation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!