Add a nearest neighbor mode to the MAP UV compositor node. #115103

Merged
Martijn Versteegh merged 32 commits from Baardaap/blender:nearest_neighbopur_compositor_uvmap into main 2024-01-19 13:24:31 +01:00

32 Commits

Author SHA1 Message Date
Martijn Versteegh 70fe1cf394 Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2024-01-19 13:18:25 +01:00
Martijn Versteegh 3808b30201 Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2024-01-19 13:10:13 +01:00
Martijn Versteegh 3235cf4a1f Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2024-01-18 13:32:11 +01:00
Martijn Versteegh b9c818c86e make format 2024-01-18 13:28:17 +01:00
Martijn Versteegh f7b37f6d3f Merge branch 'main' into nearest_neighbopur_compositor_uvmap
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-01-17 19:32:08 +01:00
Martijn Versteegh 22780f3acd add initfunc for cmp_map_uv node 2024-01-17 19:21:38 +01:00
Martijn Versteegh 8ce7e22f57 -Show filter type first
-Don't use mipmapping and anisotropic filtering for the nearest_neighbour case.
-Take out unneeded 'private;'
2024-01-17 19:11:09 +01:00
Martijn Versteegh 48d2e08c0a Remove obsolete comments. 2024-01-17 18:39:28 +01:00
Martijn Versteegh 079d7a4b0c bump subversion 2024-01-12 23:01:55 +01:00
Martijn Versteegh 2d808aed63 Add versioning code 2024-01-12 14:45:27 +01:00
Martijn Versteegh ad8afc397d Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2024-01-12 10:55:50 +01:00
Martijn Versteegh 5e8e40e25f Add more filtering options to the enum in preparation for adding them at a later stage. 2023-12-28 11:43:56 +01:00
Martijn Versteegh a014eb52ca Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-12-28 10:54:13 +01:00
Martijn Versteegh cb10e7d5e0 Merge branch 'main' into nearest_neighbopur_compositor_uvmap
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2023-12-22 12:16:27 +01:00
Martijn Versteegh 5cdcdcae0e Some renaming of functions/enum values. Comment++ 2023-12-22 12:09:12 +01:00
Martijn Versteegh 1b9b2a703f Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-12-22 00:11:02 +01:00
Martijn Versteegh 9a80e3d2f2 Cleanup: make format 2023-12-21 23:02:33 +01:00
Martijn Versteegh 4f3337722b Use an enum instead of a bool for the node UI 2023-12-21 22:53:55 +01:00
Martijn Versteegh 20d9a4106c More clear naming of shader file 2023-12-21 22:53:25 +01:00
Martijn Versteegh 9aa3c8ec33 Create get_shader_name() function and compare custom2 value with enum value instead of 0 2023-12-21 16:01:21 +01:00
Martijn Versteegh 74a0344d12 Merge shader infos 2023-12-21 15:51:11 +01:00
Martijn Versteegh 154d0c555e Add comment. 2023-12-21 15:30:16 +01:00
Martijn Versteegh 3aeade5c35 Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-12-21 15:29:27 +01:00
Martijn Versteegh 2cf8c24225 Implement nearestneighbour for fullframe as well 2023-12-20 00:38:16 +01:00
Martijn Versteegh a95c1b541e Better naming of the CMPNodeMapUVFiltering enum 2023-12-20 00:37:53 +01:00
Martijn Versteegh 1d35ea89fc Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-12-08 16:45:24 +01:00
Martijn Versteegh ea814d5b5a Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-11-22 12:28:07 +01:00
Martijn Versteegh 1ce6a1a4c0 Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-11-18 22:39:26 +01:00
Martijn Versteegh 2e6c105cdb Cleanup: make format 2023-11-18 17:56:27 +01:00
Martijn Versteegh 1c2867124b Display the nearest_neighbour option as a bool 2023-11-18 17:36:31 +01:00
Martijn Versteegh 2cd6bf51dd Merge branch 'main' into nearest_neighbopur_compositor_uvmap 2023-11-18 15:01:40 +01:00
Martijn Versteegh 958db263e6 Add a nearest neighbour sampling mode to the compositor MapUV node.
By default the MapUV node does anisotropic filtering, but this interferes
with some (NPR) workflows, for example when you generate to UV coordinates
to use a separate image as a LUT, or for pixel based distortions.
2023-11-18 14:31:03 +01:00