WIP: Mesh Tissue: Use the new ShapeKey.points with faster foreach_get/set #105135
No reviewers
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105135
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Mysteryem/blender-addons:shape_key_points_mesh_tissue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added to Blender 4.1.0 in blender/blender@7d77caab9b, ShapeKey.points
gives optimized access to shape key points data (meshes/lattices) when
accessed with #foreach_get and #foreach_set.
This patch updates Mesh Tissue to use ShapeKey.points. Speeding up
setting shape key data with #foreach_set, but only by about 3.8 times
because Mesh Tissue is using #foreach_set with a Python list rather than
a compatible buffer.
Looking into getting this PR ready, it seems that Mesh Tissue is broken in multiple places in Blender 4.0+ (contains use of the removed operator override positional arguments and
Mesh.calc_normals()
, and more). The version of Mesh Tissue bundled with Blender is behind the upstream repository that has fixes for Blender 4.0+: https://github.com/alessandro-zomparelli/tissueIt probably also means this PR will need to go to the upstream repository instead of here.
I'll move this to the upstream repository
Pull request closed