由用户创建的信息 hwbk
21 November 2016 17:07
16 November 2016 17:03
Hi,
Using version 16.10, I've been trying to move around the camera programmatically with m_transform.set_tsr, or m_transform.set_rotation + m_transform.set_translation
but the viewed result is wrong and when I check m_transform.get_tsr the values are not what I had set.
Ex:
I had gotten the values in from_values by using the webplayer's mouse controls and checking get_tsr
Am I doing something wrong?
Thanks,
Using version 16.10, I've been trying to move around the camera programmatically with m_transform.set_tsr, or m_transform.set_rotation + m_transform.set_translation
but the viewed result is wrong and when I check m_transform.get_tsr the values are not what I had set.
Ex:
var tsrVals = m_tsr.from_values(0, -1.78, 1.7, 1, 0.67, 0.004, 0.004, 0.73);
m_transform.set_tsr(camObj,tsrVals);
m_transform.get_tsr(camObj);
=[0, -1.7799999713897705, 1.7000000476837158, 1, 0.39327535033226013, 1.9755828917222829e-10, 4.1443098952598234e-10, 0.9194207191467285]
I had gotten the values in from_values by using the webplayer's mouse controls and checking get_tsr
Am I doing something wrong?
Thanks,
08 November 2016 17:56
Hi,
When setting multiple shape keys at the same time to achieve animation using the function:
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
It looks like the bottleneck is the CPU and functions like
Is there anyway to improve performance? For example is there some functionality that is being called many times (for each call of
Thanks,
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,