-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
smooth bitmap movement with kitty graphics #1682
Comments
note that this isn't just relevant to movement of planes, but also for centering. |
yeah we ought definitely do this. i think the API is basically "expose pixel coordinates for |
i think it might be better, as mentioned in #2230, to add two new fields to |
or maybe we'd like a new function, |
hrmmm. let's go ahead and add the fields to |
so we've got these fields added to |
so things this will require:
|
Add pixel offset fields to blitterargs in the pixel portion of the union. Check in blitter_geom that pixel offsets are not used with cell blitting. Prepare the new blitterargs fields. Account for pixel offsets when calculating cell geometry #1682.
i've added the |
hrmmmm maybe rather than doing this on a per-blitter basis, we ought just do as suggested in the original filing, and add transparent rows/columns to the source material? that's a lot of extra computation for the pixel blitters, though...nah, i think we'll just have to be badass |
smoothmov.mov |
alright, well there we go. @kovidgoyal, @wez, thanks for the good protocol; we'll support smooth movement in your terminals upon merge. i'll get to the much more annoying task of sixel smooth movements this week, hopefully. this lay down all the necessary infrastructure, though. sweet! |
Add pixel offset fields to blitterargs in the pixel portion of the union. Check in blitter_geom that pixel offsets are not used with cell blitting. Prepare the new blitterargs fields. Account for pixel offsets when calculating cell geometry #1682.
You are most welcome! |
Currently, bitmaps can move only a cell at a time. That leads to jerky movement. With Kitty, we can do subcell placement. With sixel, we can fake it by adding transparent rows/columns. Consider doing so.
Actually, this could apply to all blitters. Quadblitter could move in half-cell increments by adding a transparent row or column of source pixels. hrmmmmmmmmmmmM!
The text was updated successfully, but these errors were encountered: