Mesh Mixer is a Python-based tool for exploring machine learning techniques applied to 3D mesh manipulation. It allows users to compress meshes by region into PCA values, then mix and manipulate the latent space of those regions.
- Mesh Selection and Management: Add, remove, and manage 3D meshes for processing.
- Mask Creation: Create and manage vertex color masks for specific regions of meshes.
- Latent Space Mixing: Explore and manipulate the latent space of 3D meshes using machine learning techniques.
- Integration with Maya: Designed to work seamlessly within Autodesk Maya's environment.
part1.mp4
part2.mp4
-
Clone the repository:
git clone https://github.com/your-repo/mesh_mixer.git cd mesh_mixer -
Install the required Python dependencies:
- numpy
- scikit-learn
-
Ensure Autodesk Maya is installed and properly configured to run Python scripts.
-
Open Autodesk Maya.
-
Run the following script in Maya's Python script editor to launch the Mesh Mixer UI:
import sys # Add the path to the Mesh Mixer directory # Replace <path_to_mesh_mixer> with the absolute path to the Mesh Mixer repository on your system sys.path.append(r"<path_to_mesh_mixer>") from mesh_mixer.main_ui import MainWindow MainWindow().show()
-
Use the
MainWindowto:- Add meshes to the mixer.
- Create and manage masks for specific regions of the meshes.
- Enable the "Open Mixer" button once meshes and masks are set up.
- The
LatentMixerUI will open, allowing you to:- Explore the latent space of the selected meshes.
- Adjust parameters to mix and manipulate the meshes.
- Visualize the results in real-time within Maya.
core/: Contains the core logic for mesh manipulation and machine learning integration.ui/: Contains the user interface components for interacting with the tool.main_ui.py: The main entry point for launching the Mesh Mixer UI.README.md: Documentation for the repository.LICENSE: Licensing information.
Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.