Forum

Set Shape Key Performance Issue

08 November 2016 17:56
Hi,

When setting multiple shape keys at the same time to achieve animation using the function:
m_geometry.set_shape_key_value

There seems to be a large FPS performance drop between versions 16.02 and 16.06 that is still present in 16.10.
16.02 could handle up to six times as many calls to
m_geometry.set_shape_key_value
for this particular mesh.
It looks like the bottleneck is the CPU and functions like
apply_shape_key_nor
,
apply_shape_key_pos
, and
apply_shape_key_tan
.

Is there anyway to improve performance? For example is there some functionality that is being called many times (for each call of
set_shape_key_value
) that could only be called once per animation frame?

Thanks,
10 November 2016 00:15
Hi!
Thanks for the report, We'll check if there are any issues with this function and will let you know about the progress.
14 November 2016 13:03
Hello.
We are gonna optimize this API in near future, thanks for your feedback.
16 November 2016 16:46
Ok Thanks alot.
 
Please register or log in to leave a reply.