e05c36f56d2b6f2eb50b795aa723c568320a9d21
Use more modern approaches for supporting all generic attribute types, rather than hardcoding all of the types and mistakenly correlating types and domains. A "Converter" template class handles conversion to GPU data and describing the GPU format. The class is based on recent work in Cycles attribute upload and is meant to replace the `AttributeTypeConverter` class in `extract_vbo_attributes.cc`. I will do that as a separate step. This structure will give build errors if new attribute types are added but not supported here, preventing the situation described in the report. All generic attribute types are supported now, consistently with non sculpt mode drawing. The edge domain isn't supported though. Typically edges are more costly and complex to access, and interpolation is less well defined anyway. Pull Request: https://projects.blender.org/blender/blender/pulls/114334
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
