#9 Add face presets

Закрыто
3 лет назад открыта habeebweeb · комментариев: 3
habeebweeb прокомментировал 3 лет назад

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 прокомментировал 3 лет назад
Владелец

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 прокомментировал 3 лет назад
Владелец

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 прокомментировал 3 лет назад
Владелец

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> ```
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.