Closed raysan5 closed 4 months ago
I've hit this issue with some test models from the Adobe Mixamo service.
Any ideas on the intended fix? Just adding converters for incorrectly stored data cgltf_component_type_r_16u
or looking to rewrite how raylib handles boneids?
@x1nixmzeng I'm adding converters for incorrectly stored data, I'm not redesigning raylib to support more than 255 bone Ids.
Reviewed JOINTS loading, per glTF specs only vec4
and u8
/u16
formats should be supported.
glTF could provide joints data (
cgltf_attribute_type_joints
) in multiple formats, raylib only supportsmodel.meshes[].boneIds
asunsigned char
. A conversion is required.