colorcurvature opened this issue on May 03, 2010 · 7 posts
colorcurvature posted Mon, 03 May 2010 at 9:26 AM
The biggest of all mysteries:
SetMorphTargetDelta function in Posers API.
How to call it properly to have a morph target that contains absolutely nothing?
for i in range(len(actor_verts)):
param.SetMorphTargetDelta(i, 0.0, 0.0, 0.0)
This does not work. After it ran, the morph target contains what it was initialized with, e.g. the influence of JCMs.
for i in range(len(actor_verts)):
param.SetMorphTargetDelta(i, 0.000001, 0.0000001, 0.0000001) seems to overwrite the initial values
for i in range(len(actor_verts)):
param.SetMorphTargetDelta(i, 1.0, 1.0, 1.0)
param.SetMorphTargetDelta(i, 0.0, 0.0, 0.0)
for i in range(len(actor_verts)):
param.SetMorphTargetDelta(
seems to work
for i in range(len(actor_verts)):
param.SetMorphTargetDelta(i, 1.0, 1.0, 1.0)
param.SetMorphTargetDelta(i, 0.0, 0.0, 0.0)
param.SetMorphTargetDelta(
works only for 90% of the vertices
this some looks like either a parameter format error or bad access to memory...
Is there anyone who might know what this function is really doing or how to make it handle 0.0 value properly? I do not know how to debug Posers black heart ;-)
SmithMicro support didnt know either :(