Commit Graph

3850 Commits

Author SHA1 Message Date
JannisX11
067ca506a6 Fix brush outline offset 2024-12-07 19:55:18 +01:00
JannisX11
1a44e8b145 Add image export option in menu 2024-12-07 17:21:13 +01:00
JannisX11
4e03efe23d Fix UV navigator visible in paint mode 2024-12-07 01:14:05 +01:00
JannisX11
5b111fb9e2 Collection partial export 2024-12-07 00:56:57 +01:00
JannisX11
65660da340 Progress on collections 2024-12-07 00:21:58 +01:00
JannisX11
17386ff031 Merge branch 'next' into collections 2024-11-30 12:26:00 +01:00
JannisX11
6a0fbe69dd PBR fixes and WIP map generator 2024-11-29 00:40:12 +01:00
JannisX11
ad408b8d40 Group multi selection base support 2024-11-26 00:17:09 +01:00
JannisX11
ca1fca633e Move options to ToolConfig system 2024-11-24 19:03:14 +01:00
JannisX11
1669f3fbdd Finish moving mirror painting options to ToolConfig 2024-11-23 18:22:57 +01:00
JannisX11
40b60f5889
Merge pull request #2564 from JannisX11/uv-navigator
UV Navigator
2024-11-21 22:12:59 +01:00
JannisX11
9dad875998 Make UV navigator work with cubes
Fix UV navigator performance
2024-11-21 22:11:22 +01:00
JannisX11
7a62681012 Add classroom mode
Change how settings are updated
2024-11-21 21:51:44 +01:00
JannisX11
a90ce5b7e7 Added pop-up to offer restart if changing a setting requires it 2024-11-21 20:36:59 +01:00
JannisX11
ff84a43755 Finish UV navigator 2024-11-20 01:03:15 +01:00
JannisX11
e8f5cd1235 Add setting to adjust 2D editor zoom speed
Increase 2D editor default zoom speed
2024-11-17 23:36:13 +01:00
JannisX11
4ed46e91f8
Merge pull request #2559 from Nestorboy/3d-brush-shader
Added a custom brush outline shader
2024-11-17 23:18:31 +01:00
Nestorboy
b4ce266c8a Removed unused scale variables from brush preview 2024-11-17 19:16:58 +01:00
Nestorboy
9e9c8a9b5b
Merge branch 'next' into 3d-brush-shader 2024-11-17 19:07:45 +01:00
JannisX11
ffa76076f4 Add navigation sensitivity settings
Add Controls settings category
2024-11-17 14:33:19 +01:00
JannisX11
68559811f6 Fix #1185 trackpad viewport zoom too sensitive 2024-11-17 14:15:24 +01:00
JannisX11
a5444ac4e7 Rearrange animators in the timeline 2024-11-17 13:55:43 +01:00
JannisX11
ac9ceae681 Linked vector input: Update when enabling link 2024-11-17 13:20:48 +01:00
JannisX11
1a040bb8ab Merge branch 'master' into next 2024-11-17 13:12:09 +01:00
JannisX11
d8db876c6d
Merge pull request #2529 from Nestorboy/3d-brush-matrix
Added 3D brush outline shearing and fixed triangle selection
2024-11-17 13:05:30 +01:00
JannisX11
6c05b05e0c Merge branch '3d-brush-matrix' of https://github.com/nestorboy/blockbench into pr/Nestorboy/2529 2024-11-17 13:02:57 +01:00
Nestorboy
b5362e403a Reverted caching floor_coordinates condition 2024-11-17 01:14:48 +01:00
Nestorboy
bbcec47049 Passed truncated uv as last optional argument 2024-11-17 01:14:48 +01:00
Nestorboy
c042ded292 Always initialized truncated uvs 2024-11-17 01:14:48 +01:00
Nestorboy
10895e4469 Subtract current frame height from truncated y 2024-11-17 01:14:48 +01:00
Nestorboy
a5b1485e07 Moved truncation factor out of texelToLocalMatrix 2024-11-17 01:14:48 +01:00
Nestorboy
951123834f Passed truncated uvs to texelToLocalMatrix instead
• Removed truncation step inside of texelToLocalMatrix.
• Made texelToLocalMatrix take UVs and truncated UVs to have more control over truncation outside of the function.
2024-11-17 01:14:48 +01:00
Nestorboy
cae5c5c7be Fixed soft brush snapping to texels 2024-11-17 01:14:48 +01:00
Nestorboy
acd924c2cc Renamed normalized_uv to uv_coord for clarity 2024-11-17 01:14:48 +01:00
Nestorboy
5db57ad43d Added default param values to texelToLocalMatrix 2024-11-17 01:14:48 +01:00
Nestorboy
ee5780f3ab Minor style cleanups in brush outline code
• Added a new line above Position comment for consistency.
• Fixed capitalization of Z-fighting and Size comments.
2024-11-17 01:14:48 +01:00
Nestorboy
ebb4af7016 Used snake case for local variables 2024-11-17 01:14:48 +01:00
Nestorboy
e43bfe0e92 Made texel axis calculations more concise 2024-11-17 01:14:48 +01:00
Nestorboy
e1b181c8a5 Fixed brush outline not working with cubes
• Added texelToLocalMatrix function on cubes.
2024-11-17 01:14:48 +01:00
Nestorboy
f96d26c882 Moved factor out of truncate_offset check 2024-11-17 01:14:48 +01:00
Nestorboy
5a3462baa1 Passed vertices last to texelToLocalMatrix 2024-11-17 01:14:48 +01:00
Nestorboy
edf9a0a00e Simplified uv calculations for brush outline 2024-11-17 01:14:48 +01:00
Nestorboy
6d1c438a46 Deduplicated bary code in texelToLocalMatrix 2024-11-17 01:14:48 +01:00
Nestorboy
b0d13b6eb8 Fixed preview not scaling with texel density 2024-11-17 01:14:48 +01:00
Nestorboy
0263604079 Used proper naming conventions
• Renamed TexelToLocalMatrix function to texelToLocalMatrix.
• Renamed truncateOffset parameter to truncate_offset.
2024-11-17 01:14:48 +01:00
Nestorboy
e935ab9b51 Avoid modifying original uv in texelToLocalMatrix 2024-11-17 01:14:48 +01:00
Nestorboy
d3e993c98f Fixed warnings about old matrix multiply usage 2024-11-17 01:14:48 +01:00
Nestorboy
836f401e3e Disabled brush outline matrixAutoUpdate in Canvas 2024-11-17 01:14:48 +01:00
Nestorboy
f0fe63ccb3 Reverted truncation fix in UVToLocal 2024-11-17 01:14:48 +01:00
Nestorboy
fa7febd9ec Used custom matrix for the brush preview instead 2024-11-17 01:14:48 +01:00