Repository navigation
Commit 79a54f2
committed
feat(camera): desk view for Full Camera sections, with a covered tilt
A Full Camera section can now show a webcam tilted down onto the desk: "Desk view"
in the inspector turns the camera 180°, switches the mirror off for that section
(otherwise text on the page reads back to front) and shows the whole camera frame
instead of the face crop. The timeline marks such sections with a rotate icon.
The moment the camera is tilted is covered at both ends of the section: the whole
camera picture is blurred and dimmed for the Full Camera grow (and the shrink),
fading in and out around it, with a translated "Desk mode" label over it that can be
switched off per section. Preview and export render it identically through the
compositor's frame plan.
- Rust: per-frame orientation (u/v bound swaps, crop bypass) and cover strength,
a `LayerCB.cover` lane (HLSL, WGSL, MSL), the blur clamped to the camera's valid
area so aligned decoder padding never bleeds in; the label is drawn at the
cover strength of the same frame, so it fades exactly with the cover.
- App: `rotation` / `mirror` / `deskLabel` on Full Camera regions (defaults are not
stored), store and persistence, inspector controls, one generated label annotation
per projected piece, translations in every locale.
- Tests for each layer; WGSL is validated with naga on every host.1 parent 9c4417e commit 79a54f2
44 files changed
Lines changed: 1715 additions & 77 deletions
File tree
- crates/compositor/src
- vk_shaders
- src
- components
- ai-edition
- v4
- video-editor
- i18n/locales
- ar
- cs
- de
- en
- es
- fr
- it
- ja-JP
- ko-KR
- pt-BR
- ru
- tr
- vi
- zh-CN
- zh-TW
- lib
- ai-edition
- store
- timeline
- native
- technical-documentation/testing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
2485 | 2485 | | |
2486 | 2486 | | |
2487 | 2487 | | |
2488 | | - | |
2489 | | - | |
2490 | | - | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
2491 | 2493 | | |
2492 | 2494 | | |
2493 | | - | |
2494 | | - | |
2495 | | - | |
2496 | | - | |
2497 | | - | |
2498 | | - | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
2499 | 2498 | | |
2500 | 2499 | | |
2501 | 2500 | | |
2502 | 2501 | | |
2503 | 2502 | | |
2504 | 2503 | | |
2505 | 2504 | | |
2506 | | - | |
| 2505 | + | |
2507 | 2506 | | |
2508 | 2507 | | |
2509 | 2508 | | |
| |||
2515 | 2514 | | |
2516 | 2515 | | |
2517 | 2516 | | |
2518 | | - | |
| 2517 | + | |
2519 | 2518 | | |
2520 | 2519 | | |
| 2520 | + | |
2521 | 2521 | | |
2522 | 2522 | | |
2523 | 2523 | | |
| |||
2753 | 2753 | | |
2754 | 2754 | | |
2755 | 2755 | | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
2756 | 2763 | | |
2757 | 2764 | | |
2758 | 2765 | | |
| |||
2787 | 2794 | | |
2788 | 2795 | | |
2789 | 2796 | | |
2790 | | - | |
| 2797 | + | |
2791 | 2798 | | |
2792 | 2799 | | |
2793 | 2800 | | |
| 2801 | + | |
2794 | 2802 | | |
2795 | 2803 | | |
2796 | 2804 | | |
| |||
4888 | 4896 | | |
4889 | 4897 | | |
4890 | 4898 | | |
| 4899 | + | |
| 4900 | + | |
| 4901 | + | |
4891 | 4902 | | |
4892 | 4903 | | |
4893 | 4904 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1673 | 1673 | | |
1674 | 1674 | | |
1675 | 1675 | | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
1676 | 1683 | | |
1677 | 1684 | | |
1678 | 1685 | | |
| |||
1706 | 1713 | | |
1707 | 1714 | | |
1708 | 1715 | | |
1709 | | - | |
| 1716 | + | |
1710 | 1717 | | |
1711 | 1718 | | |
1712 | 1719 | | |
| 1720 | + | |
1713 | 1721 | | |
1714 | 1722 | | |
1715 | 1723 | | |
| |||
2663 | 2671 | | |
2664 | 2672 | | |
2665 | 2673 | | |
2666 | | - | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
2667 | 2679 | | |
2668 | 2680 | | |
2669 | | - | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
2670 | 2684 | | |
2671 | 2685 | | |
2672 | 2686 | | |
| |||
2733 | 2747 | | |
2734 | 2748 | | |
2735 | 2749 | | |
2736 | | - | |
| 2750 | + | |
2737 | 2751 | | |
2738 | 2752 | | |
2739 | 2753 | | |
2740 | 2754 | | |
2741 | 2755 | | |
2742 | 2756 | | |
2743 | 2757 | | |
2744 | | - | |
| 2758 | + | |
2745 | 2759 | | |
2746 | 2760 | | |
| 2761 | + | |
2747 | 2762 | | |
2748 | 2763 | | |
2749 | 2764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2438 | 2438 | | |
2439 | 2439 | | |
2440 | 2440 | | |
2441 | | - | |
2442 | | - | |
2443 | | - | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
2444 | 2446 | | |
2445 | 2447 | | |
2446 | | - | |
2447 | | - | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
2448 | 2451 | | |
2449 | 2452 | | |
2450 | 2453 | | |
| |||
2508 | 2511 | | |
2509 | 2512 | | |
2510 | 2513 | | |
2511 | | - | |
| 2514 | + | |
2512 | 2515 | | |
2513 | 2516 | | |
2514 | 2517 | | |
2515 | 2518 | | |
2516 | 2519 | | |
2517 | 2520 | | |
2518 | 2521 | | |
2519 | | - | |
| 2522 | + | |
2520 | 2523 | | |
2521 | 2524 | | |
| 2525 | + | |
2522 | 2526 | | |
2523 | 2527 | | |
2524 | 2528 | | |
| |||
2741 | 2745 | | |
2742 | 2746 | | |
2743 | 2747 | | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
2744 | 2755 | | |
2745 | 2756 | | |
2746 | 2757 | | |
| |||
2786 | 2797 | | |
2787 | 2798 | | |
2788 | 2799 | | |
2789 | | - | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
2790 | 2803 | | |
2791 | 2804 | | |
2792 | 2805 | | |
| 2806 | + | |
2793 | 2807 | | |
2794 | 2808 | | |
2795 | 2809 | | |
| |||
0 commit comments