Real-time 3D asset integrity monitoring with cryptographic verification and visual diff viewer
Project description
Local Mesh Integrity Verifier
Real-time cryptographic monitoring for 3D asset files—detect unauthorized mesh modifications instantly.
What is this?
Local Mesh Integrity Verifier is a lightweight desktop application that continuously monitors 3D asset files in your project directory, detects unauthorized modifications, and generates cryptographic integrity reports. It bridges the gap between asset provenance and ongoing compliance by providing real-time file watching, visual diff detection for mesh geometry changes, and tamper-proof integrity hashes. Perfect for game studios and VR developers who need continuous asset security alongside your existing Phantom Rack/SplitScreen workflows.
Features
- Real-time file monitoring – Watch directories for changes to GLB, USDZ, FBX, and OBJ files
- Cryptographic integrity hashing – SHA-256 based verification of mesh geometry and metadata
- Visual diff viewer – Detect and visualize mesh geometry changes with geometric comparison
- Integrity reports – Generate detailed audit logs of all file modifications
- Web dashboard – Browser-based UI for monitoring and reporting
- CLI interface – Scriptable for CI/CD pipelines and automation
- Zero configuration – Works out-of-the-box with sensible defaults
- Compliance-ready – Exportable reports for audit trails and regulatory requirements
Quick Start
Installation
pip install local-mesh-integrity-verifier
Or install from source:
git clone https://github.com/your-org/local-mesh-integrity-verifier.git
cd local-mesh-integrity-verifier
pip install -e .
Basic Usage
Monitor a directory for changes:
mesh-verifier watch /path/to/assets --output reports/
Generate an integrity baseline:
mesh-verifier baseline /path/to/assets --save baseline.json
Start the web dashboard:
mesh-verifier serve --port 8080
Verify a single file:
mesh-verifier verify model.glb --baseline baseline.json
Usage Examples
Monitor a Game Project
# Watch your Assets/Models directory
mesh-verifier watch ./Assets/Models \
--output ./integrity-reports \
--interval 300 # Check every 5 minutes
Generate Audit Reports
# Create a compliance-ready report
mesh-verifier report \
--baseline original-baseline.json \
--current ./integrity-reports/latest.json \
--format pdf \
--output audit-2025-03.pdf
CI/CD Integration
# Example: GitHub Actions workflow
- name: Verify mesh integrity
run: |
mesh-verifier verify ./Assets/Models \
--baseline .github/mesh-baseline.json \
--fail-on-drift
Unity Integration
See examples/unity_integration.md for detailed setup instructions for Unity projects.
Tech Stack
- Python 3.9+ – Core runtime
- Watchdog – Real-time file system monitoring
- Trimesh – 3D mesh parsing and geometry comparison
- FastAPI – Web dashboard backend
- SQLite – Local audit log storage
- PyTest – Test suite
Project Structure
src/mesh_integrity_verifier/
├── cli.py # Command-line interface
├── core.py # File monitoring and verification logic
├── hasher.py # Cryptographic hashing for mesh files
├── diff.py # Geometry comparison and visual diffing
├── web.py # Web dashboard and API
└── __init__.py # Package initialization
tests/
├── test_hasher.py
├── test_diff.py
└── test_monitor.py
Configuration
Create a .mesh-verifier.json in your project root:
{
"watch_paths": ["./Assets/Models", "./Assets/Meshes"],
"ignore_patterns": ["*.tmp", ".DS_Store"],
"hash_algorithm": "sha256",
"check_interval_seconds": 300,
"report_format": "json"
}
License
MIT
Need help? Check OVERVIEW.md for architecture details or open an issue on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file local_mesh_integrity_verifier-0.1.0.tar.gz.
File metadata
- Download URL: local_mesh_integrity_verifier-0.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
468d29f4e36b755f05375c408d894cea27b73d56f2ff3991be00420e1fce144c
|
|
| MD5 |
686ea23baea721177f2bdecbae48620d
|
|
| BLAKE2b-256 |
0db0e72fb9b8580418611eb20acd6fdf7baf3f805d616514e2c3b8bc991fbb1b
|
File details
Details for the file local_mesh_integrity_verifier-0.1.0-py3-none-any.whl.
File metadata
- Download URL: local_mesh_integrity_verifier-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f10f071c1b9c54112c0aaae5a8fcc2e3cb885d4a2e9f69bcef5f101411b2a7f5
|
|
| MD5 |
a5f8f3166ea64cf664f5ff32ee80b3d5
|
|
| BLAKE2b-256 |
1b430db8c8d71c0605586b70dfa7d9ec9e4b7100b322d133e650910ff1248792
|