nanoem
nanoem copied to clipboard
nanoem is an MMD (MikuMikuDance) compatible implementation and its like cross-platform application mainly built for macOS.
nanoem
nanoem is an MMD (MikuMikuDance) compatible implementation and its like application mainly built for macOS.
- All Releases
- Usage Manual (Japanese)
Background and Design Concept
MikuMikuDance (a.k.a MMD) is created on Windows via DirectX9. As such, it's unavailable to run on non-Windows deployment unless you use a virtual machine or emulation layer such as Wine.
nanoem was originally created to address the issue of non-Windows compatibility as well as the possibility it may not work in the future due to Windows reason. It was originally designed for macOS but now it's now designed to run on non-macOS as well and supports ARM CPU such as Apple M1 and RaspberryPi, multiple graphics backends (DirectX11/Metal/OpenGL).
It also has model editing feature similar to PMXEditor's one which allows for some model editing. This was also implemented for the same reason mentioned above.
nanoem is designed to achieve both of the following goals.
- Portability
- Lightweight startup
- Small size
How to build?
Prerequisites
- cmake (>= 3.5)
- C++14 compliant compiler
- confirmed on Clang and Visual Studio 2017
- git
-
ninja-build
- Optional but recommend on macOS/Linux
Minimum build instruction
See also GitHub Action Workflow.
git submodule update --init --recursive
# needs setting NANOEM_TARGET_COMPILER explicitly when the compiler is clang (default is gcc on Linux)
export NANOEM_TARGET_COMPILER=clang
cmake -P scripts/build.cmake
mkdir out
cd out
cmake -G Ninja ..
cmake --build .
# OpenGL 3.3 Core Profile or higher is required to run on Linux
cd sapp && ./nanoem
Architecture
See Architecture Document (Japanese)
About License
- nanoem component is licensed under MIT/X11 License.
- emapp/win32/macos/glfw/sapp components are licensed under Mozilla Public License.