aframevr / a-painter

🎨 Paint in VR in your browser.
https://aframe.io/a-painter/
MIT License
676 stars 201 forks source link

JSON files not saving correctly #236

Open mrfrase3 opened 6 years ago

mrfrase3 commented 6 years ago

Hey All,

Was just finally getting to processing all the saved JSON files from the Multiplayer A-Painter exhibit at SIGGRAPH Asia, to then discover that the files are all missing data. More specifically orientation, position and color are not saving correctly.

I tested and this is also happening on the single player version of a-painter. Binary files are still saving correctly.

Here is an example of a save file: {"version":1,"strokes":[{"brush":{"index":0,"color":{},"size":0.029103},"points":[{"orientation":{},"position":{},"pressure":0.2,"timestamp":0}........

mrfrase3 commented 6 years ago

Also, for those that are interested, I managed to recover some of the paintings from the multiplayer server's persistence file.

You can see the pretty art at https://mrfrase3.github.io/a-painterSA17/