Re: Why do I get so few points(SDL_MOUSEMOTION) when I move fast
Alex Barry <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CAJSO58N_sq6-27q3X1c01HVC0d7bhPhrwsw1bQ0=kv84ONtF+g@mail.gmail.com> |
I think most apps interpolate with curves, which isn't too bad if you have at least 3 points. I've seen this behaviour for years, and I don't think it's an issue with SDL. On Tue, Sep 13, 2016 at 11:11 AM, sgrsgsrg <[email protected]> wrote: > I think it's limited by what windows sends with its API, maybe it's locked > on the main display frequency? If you want more points you'll need to > interpolate between them. Like when you draw with a painting program, they > all use some sort of bezier interpolation to make nice curves, otherwise it > would looks like multiple segments linked to each other. > > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org