EpicGames / MetaHuman-DNA-Calibration

https://epicgames.github.io/MetaHuman-DNA-Calibration/
Other
436 stars 116 forks source link

json_to_dna_binary #30

Closed zhumeichoubao closed 11 months ago

zhumeichoubao commented 1 year ago

After I ran dna_binary_to_json_demo.py, I modified some data in the json file, how can I convert this json file into a dna_binary file now?

marijavik commented 1 year ago

Unfortunately, we cannot read the JSON file at the moment. I would advise you to make changes you did manually in the JSON file using writer and set commands. Would it be possible?

stream = FileStream(dna_path, FileStream.AccessMode_Write, FileStream.OpenMode_Binary)
writer = BinaryStreamWriter(stream)
writer.setFrom(reader)

writer.set…
writer.write()
marijavik commented 11 months ago

Closing this issue, in case more information needed, please reopen it.