Update Clip Editor for 2.80 Toolsystem #58085

Closed
opened 2018-11-27 13:12:30 +01:00 by Sebastian Koenig · 10 comments

Reason

Blender 2.80 is using a new toolshelf and toolsystem, so we need to update the toolshelf in Blender's clip editor too.
The workflow for tracking in the clip editor used to be split between toolshelf on the left and sidebar on the right.
In the toolshelf you would start setting up your scene length based on clip length, prefetch footage etc.
Then you would set the tracking settings for new markers in the toolshelf.
However, the tracking settings for the active track were in the properties sidebar to the right.
Solving and cleaning were on the left in the toolshelf.
So overall, the clip editor was using the concept of toolshelf and sidebar rather loosely.
Blender 2.80 is having a different, a bit more stricter approach to the toolshelf (now toolbar)
The toolbar is the place for active tools, the toolshelf Tabs are gone.
However, now we have Tabs in the sidebar.
So we need to update the overall design of the clip editor and also think about how we can adapt the tools and operators to the new workflow.

Tools

The following tools should only be relevant to the Clip View, not for Graph or Dopesheet View. There left-click+drag should only move the time cursor, just like in regular Dopesheet.

Add Marker

The closest thing to a new tool is probably Add Marker.
We used to just Ctrl+Click to add a marker, which is very convenient. Maybe we can keep that too.
However, the new toolsystem would make it possible to move all the settings to the topbar (and hence to the tool settings in properties editor as well).
So you choose the add marker tool. In the topbar you can adjust the settings for new markers. Here's a screenshot of the settings currently in the toolbar. tracking_settings.jpeg
To adjust the settings of the active marker you can still use the track settings in the sidebar.
With the Add Marker tool active you should still be able to track.
EDIT: The Add Marker tool should not only add the marker, but also move it, as long as you have the mouse clicked. Just like Ctrl-Click now in 2.79.

The Clip Editor has a little playback area at the bottom. So the add marker tool would have to respect that, so that we have the tool active but can still drag the time cursor in the cache/playback area at the bottom of the editor.
playback.jpg

Box Select

Another active tool could be box and lasso select.

Annotate

Annotate just as in other editors. It should, however, be still possible to assign the annotation to the mask (Data Source), for track masking.

Ideas for other tracking tools

There are some other tools I could think of, but those are maybe something for later and would require a bit more discussion.
For instance, maybe it would be nice to have an orientation tool.
Right now you first choose 3 tracks, then hit Floor, or Origin etc.. Depending on how that went you might have to choose 3 other markers and do that again. But I could imagine that it could also be a tool:

  • Activate Orientation tool. By default it would be set to "Floor". Once you picked 3 markers they will automatically be set as the Floor. (Maybe even with thin relationship line between them to indicate they are the floor?
  • Could have an option where you Ctrl-Click for Set Origin, Shift-Click for X-Axis and Alt-Click for Y-Axis.
  • Could have a mode to set the scale. Tool Setting would be the scale (default=1.0), tool would work in way that if you connect 2 tracks it will apply the scele to the scene.

Masking

Masking could benefit even more from the active tools concept than Tracking. But even though it is part of the clip editor I would rather open another Task for that.

## Reason Blender 2.80 is using a new toolshelf and toolsystem, so we need to update the toolshelf in Blender's clip editor too. The workflow for tracking in the clip editor used to be split between toolshelf on the left and sidebar on the right. In the toolshelf you would start setting up your scene length based on clip length, prefetch footage etc. Then you would set the tracking settings for new markers in the toolshelf. However, the tracking settings for the active track were in the properties sidebar to the right. Solving and cleaning were on the left in the toolshelf. So overall, the clip editor was using the concept of toolshelf and sidebar rather loosely. Blender 2.80 is having a different, a bit more stricter approach to the toolshelf (now toolbar) The toolbar is the place for active tools, the toolshelf Tabs are gone. However, now we have Tabs in the sidebar. So we need to update the overall design of the clip editor and also think about how we can adapt the tools and operators to the new workflow. ## Tools The following tools should only be relevant to the Clip View, not for Graph or Dopesheet View. There left-click+drag should only move the time cursor, just like in regular Dopesheet. ### Add Marker The closest thing to a new tool is probably Add Marker. We used to just Ctrl+Click to add a marker, which is very convenient. Maybe we can keep that too. However, the new toolsystem would make it possible to move all the settings to the topbar (and hence to the tool settings in properties editor as well). So you choose the add marker tool. In the topbar you can adjust the settings for new markers. Here's a screenshot of the settings currently in the toolbar. ![tracking_settings.jpeg](https://archive.blender.org/developer/F5733882/tracking_settings.jpeg) To adjust the settings of the active marker you can still use the track settings in the sidebar. With the Add Marker tool active you should still be able to track. EDIT: The Add Marker tool should not only add the marker, but also move it, as long as you have the mouse clicked. Just like Ctrl-Click now in 2.79. The Clip Editor has a little playback area at the bottom. So the add marker tool would have to respect that, so that we have the tool active but can still drag the time cursor in the cache/playback area at the bottom of the editor. ![playback.jpg](https://archive.blender.org/developer/F5733944/playback.jpg) ### Box Select Another active tool could be box and lasso select. ### Annotate Annotate just as in other editors. It should, however, be still possible to assign the annotation to the mask (Data Source), for track masking. ## Ideas for other tracking tools There are some other tools I could think of, but those are maybe something for later and would require a bit more discussion. For instance, maybe it would be nice to have an orientation tool. Right now you first choose 3 tracks, then hit Floor, or Origin etc.. Depending on how that went you might have to choose 3 other markers and do that again. But I could imagine that it could also be a tool: - Activate Orientation tool. By default it would be set to "Floor". Once you picked 3 markers they will automatically be set as the Floor. (Maybe even with thin relationship line between them to indicate they are the floor? - Could have an option where you Ctrl-Click for Set Origin, Shift-Click for X-Axis and Alt-Click for Y-Axis. - Could have a mode to set the scale. Tool Setting would be the scale (default=1.0), tool would work in way that if you connect 2 tracks it will apply the scele to the scene. ## Masking Masking could benefit even more from the active tools concept than Tracking. But even though it is part of the clip editor I would rather open another Task for that.
Campbell Barton was assigned by Sebastian Koenig 2018-11-27 13:12:30 +01:00
Author
Member
Added subscribers: @sebastian_k, @Sergey, @SeanKennedy, @WilliamReynish

This sounds right to me. Makes the Clip Editor nicely consistent with the other Editors.

This sounds right to me. Makes the Clip Editor nicely consistent with the other Editors.
Member

Would it be possible to only have one set of Track Settings? Whatever it is set to when you create a new track, that's what the new track uses. If you have a track selected, those controls then apply to that selected track. It's confusing having two, and this would streamline it quite a bit.

We should absolutely keep Ctrl+Click to add a marker, or make it something else. There definitely needs to be a shortcut for creating a marker. I track many things every day of my working life, and if I didn't have a shortcut I'd go mad. :)

There are other tools I would LOVE to see in trunk. (probably not the place for this discussion, but including them since "2.8 Toolsystem" seems very broad)
https://developer.blender.org/D2771
https://developer.blender.org/D2772

These features are already underway, and to be blunt, D2771 is absolutely necessary in a professional vfx studio that has to crank out perfect tracks for many shots a day. Sometimes tracks drift, it is the nature of tracking, and currently we have no way to correct for that.

Also, Sebastian, you tool for quickly creating geometry after a solve has been done by selecting 3 or 4 track points and clicking a button. That workflow simplifies set reconstruction exponentially.

Would it be possible to only have one set of Track Settings? Whatever it is set to when you create a new track, that's what the new track uses. If you have a track selected, those controls then apply to that selected track. It's confusing having two, and this would streamline it quite a bit. We should absolutely keep Ctrl+Click to add a marker, or make it something else. There definitely needs to be a shortcut for creating a marker. I track many things every day of my working life, and if I didn't have a shortcut I'd go mad. :) There are other tools I would LOVE to see in trunk. (probably not the place for this discussion, but including them since "2.8 Toolsystem" seems very broad) https://developer.blender.org/D2771 https://developer.blender.org/D2772 These features are already underway, and to be blunt, [D2771](https://archive.blender.org/developer/D2771) is absolutely necessary in a professional vfx studio that has to crank out perfect tracks for many shots a day. Sometimes tracks drift, it is the nature of tracking, and currently we have no way to correct for that. Also, Sebastian, you tool for quickly creating geometry after a solve has been done by selecting 3 or 4 track points and clicking a button. That workflow simplifies set reconstruction exponentially.
Author
Member

I am not sure about merging the track settings to just one panel. It would be a regression to 2.79, where we have those settings separated.

Let's say we store the settings per marker and make those the default for each new marker:
What if I have a shot with a camera moving towards a wall, for example? I might start with a small Affine marker, which get's larger and larger the closer the camera get's to the wall. At a certain point I have to scale up the search area. I might even have to activate Normalization and Brute Force at the end of the track. So those settings would now be used as default settings for a new marker? That would be very unideal.

I think it's okay to have these two different settings. And I think it will be even less confusing with the new tool system in 2.8 than in 2.79.
In 2.79 we do have 2 almost identical looking panels in toolshelf and in sidebar, indeed.
Now in 2.8 we would only have one of these panels in the sidebar, and the other settings would be in the topbar, as with every other tool. To me that seems much more streamlined and less confusing.

Now, I do sometimes want to use the settings of current track as default as well. Of course! But we have an operator for that (Copy From Active Track). Currently that operator is in the Tracking Settings in the toolshelf.
In 2.8 I would move this button into the active Track settings and rename it to something like "Make Settings default", or so.
That way it is easier to apply these settings to the Add Marker tool. You'd not even have to touch the topbar toolsettings for it.

Btw., I totally agree about the two patches, both very useful!

I am not sure about merging the track settings to just one panel. It would be a regression to 2.79, where we have those settings separated. Let's say we store the settings per marker and make those the default for each new marker: What if I have a shot with a camera moving towards a wall, for example? I might start with a small Affine marker, which get's larger and larger the closer the camera get's to the wall. At a certain point I have to scale up the search area. I might even have to activate Normalization and Brute Force at the end of the track. So those settings would now be used as default settings for a new marker? That would be very unideal. I think it's okay to have these two different settings. And I think it will be even less confusing with the new tool system in 2.8 than in 2.79. In 2.79 we do have 2 almost identical looking panels in toolshelf and in sidebar, indeed. Now in 2.8 we would only have one of these panels in the sidebar, and the other settings would be in the topbar, as with every other tool. To me that seems much more streamlined and less confusing. Now, I do sometimes want to use the settings of current track as default as well. Of course! But we have an operator for that (Copy From Active Track). Currently that operator is in the Tracking Settings in the toolshelf. In 2.8 I would move this button into the active Track settings and rename it to something like "Make Settings default", or so. That way it is easier to apply these settings to the Add Marker tool. You'd not even have to touch the topbar toolsettings for it. Btw., I totally agree about the two patches, both very useful!
Member

I'm excited to see these tools in the topbar to see how it really feels in action.

Regarding the two Track Settings panels, yes, I understand that workflow you describe, and I have no problem working with it the way it currently is. But when I think of all the other programs I have tracked in, not a single one has two of the same panel for changing the settings on new markers and the current marker.

I'm excited to see these tools in the topbar to see how it really feels in action. Regarding the two Track Settings panels, yes, I understand that workflow you describe, and I have no problem working with it the way it currently is. But when I think of all the other programs I have tracked in, not a single one has two of the same panel for changing the settings on new markers and the current marker.
Author
Member

@SeanKennedy You have probably tracked in way more programs than me, but at least in the handful of tracking programs I tried none of them had the same approach to super accurate supervised tracking like we have eihter. I think in Blender the single marker plays a more important role by itself than elsewhere, so I think it's fine if UI reflects that.

@SeanKennedy You have probably tracked in way more programs than me, but at least in the handful of tracking programs I tried none of them had the same approach to super accurate supervised tracking like we have eihter. I think in Blender the single marker plays a more important role by itself than elsewhere, so I think it's fine if UI reflects that.
Member

I agree with you for sure that Blender's accuracy is spectacular. :)

I agree with you for sure that Blender's accuracy is spectacular. :)

Added subscriber: @AntonioBuch

Added subscriber: @AntonioBuch

Added subscriber: @hlorus

Added subscriber: @hlorus
Member

Closed as duplicate of #83612

Closed as duplicate of #83612
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#58085
No description provided.