OpenMfxForBlender icon indicating copy to clipboard operation
OpenMfxForBlender copied to clipboard

Add arbitrary attributes

Open eliemichel opened this issue 5 years ago • 3 comments

This requires changes to the Open Mesh Effect API itself, but is much needed for interactions with weight groups (float attributes) and UVs (vector2 attributes) or vertex colors (vector3 attributes in range [0,1]).

  • [x] Read UVs (vector2 vertex attributes)
  • [x] Write UVs
  • [x] Read Vertex color (clamped vector3 point attributes)
  • [ ] Write Vertex color
  • [x] Read Weighted groups (float point attributes)
  • [ ] Write Weighted groups
  • [ ] Arbitrary attributes that can get used in shaders (is it possible?)

eliemichel avatar Feb 04 '20 20:02 eliemichel

291a613 adds support for arbitrary attributes to the OpenMeshEffect standard. We can now work on integrating it to Blender attribtues as listed above.

eliemichel avatar Feb 08 '20 15:02 eliemichel

feaac23 adds the possibility to read vertex colors and writes UVs in OpenMeshEffect filters.

eliemichel avatar Feb 23 '20 22:02 eliemichel

5722a23 makes UV readable and improve a lot how to use it in plugin thanks to plugin support functions in openmesheffect_util.

eliemichel avatar Mar 16 '20 01:03 eliemichel