Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support visualisation rate limiting for stepsPerSecond < 1 #123

Open
ptheywood opened this issue Mar 13, 2023 · 1 comment
Open

Support visualisation rate limiting for stepsPerSecond < 1 #123

ptheywood opened this issue Mar 13, 2023 · 1 comment

Comments

@ptheywood
Copy link
Member

modelcfg.stepsPerSecond is an unsigned integer currently, so it is not possible to have a visualisation with fewer than 1 simulation step per second.

Alternatively, exposing a new method in the FLAMEGPU/vis interface to set step_ms directly as a flaoting point value rather than as 1000/stepsPerSecond might be helpful in some use-cases.

i.e. something like:

ModelVis::setSimulationDelay(float seconds);

These would need to conflict with one another however.

@Robadob
Copy link
Member

Robadob commented Mar 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants