From 3c7d7df216fe1537362b19520b304cc6e5d856a6 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 19 Feb 2025 03:26:58 -0800 Subject: organize, update readme --- Examples/example0.json | 26 ++++++++++++++++ Examples/example1.json | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 Examples/example0.json create mode 100644 Examples/example1.json (limited to 'Examples') diff --git a/Examples/example0.json b/Examples/example0.json new file mode 100644 index 0000000..d77e3e7 --- /dev/null +++ b/Examples/example0.json @@ -0,0 +1,26 @@ +{ + "api_version": "1.0", + "toggles": [ + { + "name": "Shirt", + "meshToggles": ["Shirt"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Chest_Hide" + } + ] + }, + { + "name": "Jacket", + "dependencies": ["Shirt"], + "meshToggles": ["Jacket"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Chest_Hide" + } + ] + } + ] +} diff --git a/Examples/example1.json b/Examples/example1.json new file mode 100644 index 0000000..df27537 --- /dev/null +++ b/Examples/example1.json @@ -0,0 +1,80 @@ +{ + "api_version": "1.0", + "toggles": [ + { + "name": "Shirt", + "menuPath": "/Clothes", + "dependencies": ["Bra"], + "meshToggles": ["Shirt"], + "defaultValue": 0.0, + "blendShapes": [ + { + "path": "Body", + "blendShape": "Bra on" + }, + { + "path": "Body", + "blendShape": "Smush nips" + }, + { + "path": "Skirt", + "blendShape": "Shirt off", + "offValue": 100.0, + "onValue": 0.0 + } + ] + }, + { + "name": "Skirt", + "menuPath": "/Clothes", + "meshToggles": ["Skirt"], + "blendShapes": [] + }, + { + "name": "Socks", + "menuPath": "/Clothes", + "meshToggles": ["Socks"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Thigh squish" + } + ] + }, + { + "name": "Shoes", + "menuPath": "/Clothes", + "meshToggles": ["Shoes"], + "blendShapes": [] + }, + + { + "name": "Bra", + "menuPath": "/NSFW", + "meshToggles": ["Bra"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Bra on" + }, + { + "path": "Body", + "blendShape": "Smush nips" + } + ] + }, + { + "name": "Panties", + "menuPath": "/NSFW", + "meshToggles": ["Panties"], + "blendShapes": [] + }, + + { + "name": "Hair", + "menuPath": "/Misc", + "meshToggles": ["Hair"], + "blendShapes": [] + } + ] +} -- cgit v1.2.3