Opened 6 years ago

Closed 20 months ago

#5216 closed enhancement (fixed)

Select timestep/frame resolution in animations

Reported by: dariomangoni@… Owned by: vwaurich
Priority: normal Milestone: Future
Component: OMEdit Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

Even though I run simulations at timestep 1ms and the visualization is actually available for all of these time instants, the cursor in the Plotting perspective in OMEdit is usually making very coarser steps (around 50ms). The same applies when you play the animation.

It's then really difficult to effectively appreciate the fine timestep...
Please show ALL the timesteps or at least let the user decide how much coarser the visualization should be.

Change History (6)

comment:1 Changed 5 years ago by adeas31

  • Owner changed from adeas31 to vwaurich
  • Status changed from new to assigned

comment:2 Changed 5 years ago by vwaurich

Are you referring to the slider? The slider has a fixed number of increments which are not related to the number of result steps. It is also possible to write any number within the "Time [s]:"-Box and hit Enter.

comment:3 Changed 5 years ago by dariomangoni@…

Yes, I'm definitely referring to the slider.
Even for short simulations (when the simulation gets longer, it will be even worse though) this "discretization" of the slider is too wide. You jump from a time instant to another that are quite far, compared to the simulation time scale.
E.g. for a 10s simulation I already get a 0.1s time tick. In my opinion it's way too much, even for mechanical simulation (that I think it's one of the field that benefits from animation)

Writing the time instant in the box is not something that let you appreciate the motion: you get a frame, but you loose the sense of continuity in time.

The proposal is this: make ALL the timesteps available in the scroll and let the user move from one to the other with left-right arrow (as it already is).

comment:4 Changed 5 years ago by vwaurich

As a quick fix, I would increase the number of increments of the slider to 1000. I will keep the ticket open and see if I can make something adaptive in the future.

comment:5 Changed 5 years ago by adeas31

@Volker the OMEdit git repo is used anymore. It is moved inside the OpenModelica git repo. Can you make a new pull request to he correct repo?

comment:6 Changed 20 months ago by adeas31

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.