You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
On Mon, 13 Mar 2023, 14:16 Peter Heywood, ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#123>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFVGCSKTGUN7BAXECWII3LW34T2VANCNFSM6AAAAAAVZELW54>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
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 as1000/stepsPerSecond
might be helpful in some use-cases.i.e. something like:
These would need to conflict with one another however.
The text was updated successfully, but these errors were encountered: