Fix the normalization factor calculation for blendshapes 45/293045/2
authorRichard <r.huang@samsung.com>
Thu, 18 May 2023 14:09:13 +0000 (15:09 +0100)
committerRichard <r.huang@samsung.com>
Thu, 18 May 2023 14:35:43 +0000 (15:35 +0100)
commitb7d372800f24757c771ac767094110a6a7bd7d75
tree04521c9e65c06ea3a5a782c8664385f0da84fed8
parent686ec713a1cec04adb2d996cedf028b26d8c09f3
Fix the normalization factor calculation for blendshapes

This patch fixes two issue:

1. Fix the calculation of the blendshape normalization factor so that it can
   handle smaller maximum distance between the original mesh and the deformed
   mesh.

2. Apply the min and max properties of the accessor to all the elements in the
   accessor, not just the elements in the sparse storage.

Change-Id: Iea90cbacf91fc7311242d9a47454b06afee82200
dali-scene3d/public-api/loader/mesh-definition.cpp