unreal.NeuralMorphMode

class unreal.NeuralMorphMode

Bases: EnumBase

The mode of the model, either local or global. In local mode the network contains a super simple neural network for each bone, while in global mode all bones and curves are input to one larger fully connected network. The local mode has faster performance, while global mode can result in higher quality deformation. This model runs its neural network on the CPU, but uses comrpessed GPU based morph targets, which require shader model 5.

C++ Source:

  • Plugin: NeuralMorphModel

  • Module: NeuralMorphModel

  • File: NeuralMorphTypes.h

GLOBAL: NeuralMorphMode

There is one fully connected neural network that generates a set of morph targets. This has a slightly higher CPU overhead, but could result in higher quality. The Global mode is basically the same as the Vertex Delta Model, but runs the neural network on the CPU and uses GPU compressed morph targets.

Type:

1

LOCAL: NeuralMorphMode

Each bone creates a set of morph targets and has its own small neural network. The local mode can also create more localized morph targets and tends to use slightly less memory. This mode is faster to process on the CPU side.

Type:

0