Skip to content
0.2.0-dev Download ZIP
14 lines ·1.9 KB Raw
1EvilEngine.GenerativeMotion/Soma
2
3Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
5
6SomaCodec.cs, SomaContract.cs, WarpMath.cs and Rigid.cs are ported to C# from NVIDIA's MotionBricks runtime and Warp, both under the Apache License 2.0, whose full text is in LICENSE beside this file. Evil Engine changed them: they're rewritten in C# for one pose at a time on the CPU, and the encoder writes one row of a batch.
7
8- SomaCodec.cs follows MotionBricks v0.2.0 (commit 54fc563, https://github.com/NVlabs/motionbricks): motionbricks/model/soma/kernels.py (heading, guide alignment, input encoding, output decoding, endpoint deltas), motionbricks/model/soma/engine.py (the joint maps), motionbricks/model/kernels.py (conditions) and motionbricks/utils/pose_utils.py (world poses, transform deltas and root endpoint correction).
9- SomaContract.cs holds the timing and joint names of MotionBricks' motionbricks/model/contract.py, model/config.py, model/soma/contract.py and assets/onnx/soma/soma_n1.json.
10- WarpMath.cs and Rigid.cs follow Warp 1.17.0 (https://github.com/NVIDIA/warp): warp/native/quat.h, spatial.h and vec.h, for quaternion and transform products, rotation, normalisation, slerp and the matrix-to-quaternion conversion.
11
12SomaSkeleton.Data.cs holds the joint names, parents and reference pose of motionbricks/assets/human/soma_base_skel_minimal_no_root.usd from MotionBricks v0.2.0, an asset under the Creative Commons Attribution 4.0 International licence (https://creativecommons.org/licenses/by/4.0/). make_skeleton.py writes it from that file. Evil Engine changed it from a USD skeleton into a C# table.
13
14SomaRequest.cs takes its defaults (8 to 14 tokens, facing +X, endpoint correction on) from MotionBricks' motionbricks/model/config.py. SomaSkeleton.cs, SomaLayout.cs, SomaGeneration.cs and SomaDriver.cs are Evil Engine's own.