Skip to content

QTimer isn’t reliable #16

@snake-biscuits

Description

@snake-biscuits

When a QTimer is used for timing frames, either in the viewports or the demo player prototype, frames can lag

The error / deviation accumulates too.
We could look at the time taken to execute functions tied to the timer and compensate for the deviation

Or asynchronously run the functions with a 1 frame delay, showing the previous frame (double buffering) some kind of “delayed execution” QTimer subclass (GFrameTimer?) could be useful

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions