Thomas Barlow Mysteryem
  • Joined on 2023-02-10
f9f3507c6c Remove default executor argument for import_fbx.load()
6518667f71 FBX IO: Search for images on separate threads
75e7d9bece Fix add-ons with Python 3.12 by replacing "imp" with "importlib"
69f9e45f7b Rigify: update code to support nested bone collections.
f407b20752 glTF importer: Refactor material import
c10a443bed glTF importer: Change scaling factor of default custom bones
Compare 28 commits »
Thomas Barlow commented on pull request blender/blender#114591 2024-01-30 18:58:57 +01:00
PyAPI: Speed up Mesh.shade_flat() using foreach_set

An alternative that uses struct.pack rather than numpy could be:

import struct
sharp_faces_data = _name_convention_attribute_ensure(self.attributes, "sharp_face", 'FACE', 'BOOLEAN').da
Thomas Barlow commented on pull request blender/blender#117641 2024-01-30 18:16:49 +01:00
PyAPI: Unify buffer compatibility checks for specific types

Hi @ideasman42 could you review this please?

Thomas Barlow opened issue blender/blender#117656 2024-01-30 03:23:29 +01:00
SystemError setting ID custom property to a list containing NumPy scalars
Thomas Barlow created pull request blender/blender#117641 2024-01-29 18:39:49 +01:00
PyAPI: Unify buffer compatibility checks for specific types
Thomas Barlow pushed to py_api_unify_buffer_checks at Mysteryem/blender 2024-01-29 17:39:06 +01:00
94957cf1c3 Add native buffer byteorder check to idprop_py_api.cc#idp_from_PySequence
321c6690f2 Add native buffer byteorder check to gpu_py_element.cc#pygpu_IndexBuf__tp_new
cbb299c162 Unify prop_array/prop_collection foreach_getset and bgl.Buffer buffer compatibility
Compare 3 commits »
Thomas Barlow created branch py_api_unify_buffer_checks in Mysteryem/blender 2024-01-29 15:42:37 +01:00
Thomas Barlow pushed to py_api_unify_buffer_checks at Mysteryem/blender 2024-01-29 15:42:37 +01:00
916d38eb1d Add native buffer byteorder check to idprop_py_api.cc#idp_from_PySequence
c441d5ec86 Add native buffer byteorder check to gpu_py_element.cc#pygpu_IndexBuf__tp_new
276f2e90a1 Unify prop_array/prop_collection foreach_getset and bgl.Buffer buffer compatibility
bce81cf2cc Add function to check if a buffer's type and item size are compatible
e4066af412 Add function for checking if buffer formats are in native byteorder
Compare 10 commits »
Thomas Barlow commented on pull request blender/blender#114591 2024-01-27 02:59:33 +01:00
PyAPI: Speed up Mesh.shade_flat() using foreach_set

I've updated the performance comparison following recent performance improvements to foreach_set, and I've rebased on main.

Thomas Barlow pushed to speed_up_mesh_shade_flat at Mysteryem/blender 2024-01-27 02:56:47 +01:00
b109c5f668 PyAPI: Speed up Mesh.shade_flat() using foreach_set
e8b7731d7c UI: Use icon for curves surface UV map property
359bfbcd78 Cleanup: Use enum class and forward declaration for paint mode
fb0d6198c0 Cleanup: Move remaining asset editors code to C++ namespace
38647b6dc2 Fix: suspicious time-stamp console warnings on macOS
Compare 2224 commits »
Thomas Barlow commented on issue blender/blender#117532 2024-01-26 14:46:47 +01:00
custom properties on collection do not report as attributes with hasattr, getattr in python

hasattr and getattr are built-in Python functions for working with attributes. custom is not an attribute of collection so the code example works as expected (collection.custom/`getattr(c…

Thomas Barlow created pull request blender/blender-addons#105150 2024-01-26 06:03:41 +01:00
FBX IO: Export corner normals instead of face normals
Thomas Barlow created branch fbx_disable_face_normals_export in Mysteryem/blender-addons 2024-01-26 03:32:57 +01:00
f0888c51b8 FBX IO: Export corner normals instead of face normals
a99528adb0 FBX IO: Use the new ShapeKey.points with faster foreach_get/set
1a55379677 Sun Position: fix error with Diurnal mode of Sun collection
1f3a236e3c Docs: Replace most wiki links with links to new developer docs
368fe93ffd Snap Utilities Line: switch line direction according to mouse position
Compare 7 commits »
Thomas Barlow created branch gltf_fast_structured_unique in Mysteryem/blender-addons 2024-01-24 21:36:26 +01:00
Thomas Barlow pushed to gltf_fast_structured_unique at Mysteryem/blender-addons 2024-01-24 21:36:26 +01:00
592fbeec12 gltf export: Find unique structured array elements more efficiently
Thomas Barlow commented on issue blender/blender#117470 2024-01-24 12:39:45 +01:00
Mesh normals error in fbx export, Blender to Unreal

Ok, so Unreal just doesn't support face normals for whatever reason. It works fine with vertex normals and corner normals, and with either of the Direct (one normal per element) or `IndexToDirect…

Thomas Barlow commented on issue blender/blender#117470 2024-01-24 11:51:21 +01:00
Mesh normals error in fbx export, Blender to Unreal

I did suspect this might happen, which is why I got the normal export changes into 4.1 early (https://developer.blender.org/docs/release_notes/4.1/add_ons/#fbx-io), but I was not expecting this to…

Thomas Barlow deleted branch shape_key_points_fbx from Mysteryem/blender-addons 2024-01-24 05:06:51 +01:00