Morph Target flicker default target on visibility toggle

Santtu S.
Fri, 05 Sep 2014 21:57:31 +0000
Rendering

Hi!

Using 4.4 binary, win 8.1.

I’ve made a small script to blend a skeletal mesh to wanted morph target. Then when that’s done, I set visibility of the skeletal mesh hidden and back to visible. Most of the time when skeletal mesh comes back to being visible, for a frame or two it shows the “default” morph target before showing the blended target. It forgets the target for frame or two.

I’ve attached a project to show this problem. Just hit play and watch the skeletal mesh toggle between visible and hidden - it should be visible on couple of frames, if not just stop and start play again.

I’m trying to use this method as optimization, first blend with more complex mesh and when the target is reached, replace the skeletal mesh with simple static mesh. Then if the object is blended again, replace the static back to skeletal mesh for the blending and when it’s done replace the skeletal mesh back to corresponding static mesh. Unfortunately this bug prevents using this method as it bring annoying artefacts on screen due the flicker of the “default” morph target.

Sorry for using rar inside the zip, but the 524kb limit just could not hold the project inside zip. So unpack zip and inside the rar to get the project (would it be better to raise the limit for 1MB or so?).

11 posts - 1 participant