Ship the WeChat hot-update catalogs and the camp, TideWhale T2, UI atlas, and animation-lab work.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
"""Run identical Mixamo motions on website and TokenRig skin weights."""
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0,str(Path(__file__).resolve().parent))
|
||||
from bl_compare_mixamo_soma import audit
|
||||
|
||||
root=Path(sys.argv[sys.argv.index('--')+1])
|
||||
folder=root/'Tools/output/campguide_studio/rig_mixamo41'
|
||||
out=folder/'review'
|
||||
out.mkdir(parents=True,exist_ok=True)
|
||||
base=root/'AIClient/Assets/Bundles/Characters/Human/test/Boy_mixamo'
|
||||
results=[]
|
||||
jobs=[('Mixamo',base/'CampGuideStudio.fbx'),('TokenRig41',folder/'tokenrig_mixamo41.blend')]
|
||||
if '--local-only' in sys.argv:
|
||||
jobs=[('TokenRigLocal',folder/'tokenrig_mixamo41_local.blend')]
|
||||
for skin,mesh in jobs:
|
||||
for name in ['Walking','Breathing Idle','Happy Idle']:
|
||||
result=audit(skin+' '+name,mesh,base/('CampGuideStudio@'+name+'.fbx'),out)
|
||||
results.append(result)
|
||||
result_name='comparison_local.json' if '--local-only' in sys.argv else 'comparison.json'
|
||||
(folder/result_name).write_text(json.dumps(results,indent=2),encoding='utf-8')
|
||||
print('COMPARISON_DONE',folder/result_name)
|
||||
Reference in New Issue
Block a user