Fix per vertex normals and colors import #6

Merged
Cedric Steiert merged 10 commits from Hombre57/io_scene_x3d:per-vertex_normals_and_colors into main 2024-08-07 12:04:13 +02:00

10 Commits

Author SHA1 Message Date
c957f6bc57 Handle color space for vertex colors using the color_attributes API
Thanks to @Bujus_Krachus for the patch.
2024-08-07 11:33:26 +02:00
cf37b9d1b7 Merge branch 'main' into per-vertex_normals_and_colors 2024-08-06 22:15:31 +02:00
e8940cbc8c Use plain english for Color attribute's name 2024-08-05 13:58:56 +02:00
d17730d608 Add forgotten mathutils import 2024-08-04 19:12:59 +02:00
0b42c37959 Add vector normalization step to handle vectors with too few decimals 2024-08-04 17:14:21 +02:00
6007d1651d Merge branch 'main' into per-vertex_normals_and_colors 2024-08-04 12:42:50 +02:00
Jean-Christophe
30c46be9ff Fix the color attribute's name to avoid script crash
Also reintroduce `bpymesh.vertices.foreach_set` for Per Vertx normals as
requested
2024-08-04 11:38:22 +02:00
790902323c Add support for per vertex normals w/o normalIndex
Also suppresse a useless 'validate' (forgotten from the previous commit)
and better named color attribute
2024-08-03 23:04:00 +02:00
37e6f48a33 Better node placement + code cleanup and simplification 2024-07-23 00:49:05 +02:00
Jean-Christophe
fd2106afa5 Fix per vertex normals and colors import 2024-07-20 21:07:08 +02:00