Aras Pranckevicius aras_p
Aras Pranckevicius pushed to vse_thumbs_cache at aras_p/blender 2024-08-27 08:27:45 +02:00
50d86242f6 Cleanup
f0ca0b079b Merge branch 'main' into vse_thumbs_cache
fccacf4bcb Comments and code style
7205e1ab8c USD: Add tests for python hooks
7e6a401423 Cleanup: Group StrokeCache Displacement Smear variables together
Compare 99 commits »
Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:25:12 +02:00
VSE: Faster and more consistent thumbnail cache

This does happen in "heavy" tests that I did -- tons of video clips, large timeline, and several source files that span the whole timeline that are almost always visible. After wild panning and…

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:22:09 +02:00
VSE: Faster and more consistent thumbnail cache

Good point, will do.

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:20:27 +02:00
VSE: Faster and more consistent thumbnail cache

Defensive habits, I guess. Will replace with an assert.

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:17:53 +02:00
VSE: Faster and more consistent thumbnail cache

Right, previously this was within space_sequencer indeed. What would you suggest to do? WM jobs are kinda "perfect" for actually doing this -- they run in the background, then can be cancelled…

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:13:29 +02:00
VSE: Faster and more consistent thumbnail cache

Ah cool, I'll remove it then! Missing media is not an issue for this PR, it actually gets "null" thumbnails and handles them just fine, without causing endless requests.

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:12:15 +02:00
VSE: Faster and more consistent thumbnail cache

To me this feels fine -- this is a function called "once per frame" to maintain cache capacity. "once per frame" is quite important since it ticks the logical timestamps etc. "user of this cache"…

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:10:10 +02:00
VSE: Faster and more consistent thumbnail cache

Previous code, whenever the timeline view changed at all (panning/zooming), was canceling any in-flight thumbnail requests and starting from scratch, essentially.

Now I changed it to not flat…

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:07:22 +02:00
VSE: Faster and more consistent thumbnail cache

Yes there's quite a bit of logic that is weird/funky but I have not changed it, I just moved it from render.cc. Cleaning all that up and "somehow" improving which parts of strips want to show…

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-27 08:05:56 +02:00
VSE: Faster and more consistent thumbnail cache

I don't understand it either. I just moved the function from render.cc, since it is no longer needed there. What is the logic of the function keeps on being mystery to me, but I have not changed…

Aras Pranckevicius commented on pull request blender/blender#118670 2024-08-26 19:51:46 +02:00
VSE: Add anim manager

While I was not able to test performance improvement on my Gold edit (see comment about C++ exception above), on another file that I have with several video tracks each cut into many pieces…

Aras Pranckevicius commented on pull request blender/blender#118670 2024-08-26 19:38:54 +02:00
VSE: Add anim manager

With latest commit on this PR, I am getting a C++ exception "resource deadlock would occur" (seemingly the mutex is already locked by the same thread? but not 100% sure). This is on Windows, on Gold (gold-edit-v804 - I forget where I got it from, Francesco or Sergey gave it to me, entering frame 2875).

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-26 17:52:18 +02:00
VSE: Faster and more consistent thumbnail cache

Ah ok! I was not sure whether BLI utilities or C++ std is preferred. Will change.

Aras Pranckevicius commented on pull request blender/blender#126405 2024-08-26 17:51:52 +02:00
VSE: Faster and more consistent thumbnail cache

Timeline area X axis coordinate is "frames", Y axis is "channels". So this is +-30 frames from what is visible, and +-1 channels. It is similar to the previous cache code, but indeed perhaps would…

Aras Pranckevicius commented on issue blender/blender#126753 2024-08-26 12:05:25 +02:00
Overlapping text shows strange font color

Similar to my suggestion at #124549, maybe that behavior should be reverted, and actual logic changed to:

  • Draw text with the color as it would be (from theme or elsewhere),
  • Draw text outline…
Aras Pranckevicius commented on pull request blender/blender#126660 2024-08-26 09:11:22 +02:00
VSE: Add text alignment feature

As @Harley says, the glyph advancing right now is not correct. This can be easily seen in cursive/script fonts, e.g. "Dancing Script" (https://fontlibrary.org/en/font/dancing). Current main branch…

Aras Pranckevicius commented on pull request blender/blender#126660 2024-08-23 22:07:04 +02:00
VSE: Add text alignment feature

Minor: I'd think that using namespace blender is not needed since what follows is already a sub-namesspace of that (blender::seq)

Aras Pranckevicius pushed to main at blender/blender-developer-docs 2024-08-23 09:22:50 +02:00
509a9094e5 Update docs/release_notes/4.3/sequencer.md
Aras Pranckevicius pushed to main at blender/blender-developer-docs 2024-08-23 09:20:58 +02:00
d8e3824012 Upload files to "docs/release_notes/4.3/images"
Aras Pranckevicius merged pull request blender/blender#126336 2024-08-23 09:15:57 +02:00
VSE: Set "box select" default tool for preview and show toolbars