Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Features

✓ - Working / - Incomplete x - Unsupported
Vertices
Triangles
Material /
Vertices Color
UV 1-4
Texture
Skeleton Rigging Skinning
BlendShape
RigidBody x
Joint x

Some vertex information will be recorded in the additional UVs of PMX

🚨Due to the difference between Unity's texture space and that of MMD, all UVs, except for vertex colors, have had their Y-coordinates flipped.

Unity PMX
UV UV
UV2 Extra UV1
UV3 Extra UV2
Vertex Color Extra UV3

Usage

  • Import this plugin

  • For Editor:

    • Right click on the object on the hierarchy
    • Export PMX Model
    • 88c45375d85fe4a2e4c61c88500efa7c
  • For Runtime:

    using UnityPMXExporter;
    ...
    public GameObject Target;
    public string Path = "Assets/model.pmx"
    ...
    ModelExporter.ExportModel(Target, Path);
    

Special Thank to:

  • hobosore: UnityPMXRuntimeLoader for defining the structure of the PMX model
  • CherishingWish for exporting the texture

About

Export MMD model in editor or runtime

Resources

Stars

19 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages