#9 Add face presets

Closed
opened 3 years ago by habeebweeb · 3 comments

Method for serializing/deserializing already exists but need to make UI for it which is a chore. Also add converting MM face presets.

Method for serializing/deserializing already exists but need to make UI for it which is a chore. Also add converting MM face presets.
habeebweeb commented 3 years ago
Owner

Consider taking a look at the format other plugins that save/load face presets use. Since COM3D2 does not have a method for serializing face presets, there is no standard.

MeidoPhotoStudio currently serializes faces to a binary format for scenes but an xml format could be better suited for presets.

Consider taking a look at the format other plugins that save/load face presets use. Since COM3D2 does not have a method for serializing face presets, there is no standard. MeidoPhotoStudio currently serializes faces to a binary format for scenes but an xml format could be better suited for presets.
habeebweeb commented 3 years ago
Owner

Studio mode serializes scenes to an XML which also includes face parameters. FaceControl also serializes faces to an XML file but it's in a different format.

MeidoPhotoStudio should serialize face presets to an XML file too that is similar to studio mode.

Studio mode serializes scenes to an XML which also includes face parameters. FaceControl also serializes faces to an XML file but it's in a different format. MeidoPhotoStudio should serialize face presets to an XML file too that is similar to studio mode.
habeebweeb commented 3 years ago
Owner

ac2457014e Adds face presets and uses XML as the serialization format.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--MeidoPhotoStudio Face Preset-->
<FaceData>
  <elm name="facehashkey">0</elm>
  <elm name="otherfacehashkey">0.813953459</elm>
  ...
</FaceData>
ac2457014e Adds face presets and uses XML as the serialization format. ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <!--MeidoPhotoStudio Face Preset--> <FaceData> <elm name="facehashkey">0</elm> <elm name="otherfacehashkey">0.813953459</elm> ... </FaceData> ```
Sign in to join this conversation.
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.