Opened 6 years ago

Closed 23 months ago

#5216 closed enhancement (fixed)

Select timestep/frame resolution in animations

Reported by: dariomangoni@… Owned by: Volker Waurich
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 by Adeel Asghar, 6 years ago

Owner: changed from Adeel Asghar to Volker Waurich
Status: newassigned

comment:2 by Volker Waurich, 6 years ago

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 by dariomangoni@…, 6 years ago

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 by Volker Waurich, 6 years ago

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 by Adeel Asghar, 6 years ago

@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 by Adeel Asghar, 23 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.