Fix #116809: Geometry nodes UV map of UV Sphere #116856

Open
Balázs Füvesi wants to merge 15 commits from fuvesib/blender:gn-uvsphere-uvsegmentfix into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

15 Commits

Author SHA1 Message Date
Balázs Füvesi 11134ea3f9 Correct blender version 2024-01-11 20:01:23 +01:00
Balázs Füvesi c50849e2a6 Revert of 2b682c8e3b 2024-01-11 19:50:32 +01:00
Balázs Füvesi ba9a7c57ec Correct code according to comments 2024-01-10 00:05:52 +01:00
Balázs Füvesi ea5d64e03d Merge remote-tracking branch 'refs/remotes/me/gn-uvsphere-uvsegmentfix' 2024-01-09 23:24:02 +01:00
Balázs Füvesi 2b682c8e3b Correct blender version 2024-01-08 21:32:33 +01:00
Balázs Füvesi 000d2b1da7 Correct version check 2024-01-08 21:25:11 +01:00
Balázs Füvesi b1dc2ba8e1 Add common segments integer input node 2024-01-08 21:09:28 +01:00
Balázs Füvesi 9f179705f7 Add nodes until common segments integer 2024-01-08 16:29:00 +01:00
Balázs Füvesi d2096ba536 Add version_cycles_node_socket_int_value function 2024-01-08 16:22:41 +01:00
Balázs Füvesi aa525dd931 Add version_cycles_node_socket_int_value function 2024-01-08 16:21:53 +01:00
Balázs Füvesi 452b2f2090 Add nodes until segment input
Most of the nodes are done, but the segment input for UV sphere is not finished yet.
Lines 1862 - 1877 marked with TODO have to be completed.
2024-01-08 00:13:49 +01:00
Balázs Füvesi 9f81894ea2 Add dummy version check
The current version just ensures that the function is called when my blend file is opened.
The correct version has to be set.
2024-01-08 00:09:43 +01:00
Balázs Füvesi fe92ce299e Fix vertex position instead of UV shift
The UV shift solution introduces a compatibility issue:
If the sphere is rotated by one segment in versioning then the UV is consistent.
But the vertex positions are rotated.

The vertex position solution introduces a compatibility issue too:
If the sphere is rotated by one segment in versioning then the UV is consistent.
And the vertex positions are consistent too.
With the added benefit that the UV sphere vertex order matches the vertex order of cone and cylinder.
2024-01-08 00:03:10 +01:00
Balázs Füvesi ed8f6a113b Merge branch 'main' into gn-uvsphere-uvsegmentfix 2024-01-07 20:48:49 +01:00
Balázs Füvesi 4cb6910230 Fix #116809: Geometry nodes UV sphere UV segments 2024-01-06 23:59:47 +01:00