Well you're clearly diverging from the ldraw spec. A real shame as your
application has much potential as a multi platform one...
On Aug 30, 2014 12:55 AM, "Leonardo Zide" <[email protected]> wrote:

> I've checked in some early support for saving JSON files, here's a example
> of what it looks like right now. I'm thinking about switching the save
> format to something like this so any comments are welcome:
>
> {
>     "Cameras": [
>         {
>             "FOV": "30",
>             "Name": "Camera  1",
>             "Position": "-10.2931 -5.67123 6.10179",
>             "TargetPosition": "-321.228 -325.207 190.32",
>             "UpVector": "0.298042 -0.596134 0.745516",
>             "ZFar": "500",
>             "ZNear": "1"
>         }
>     ],
>     "CurrentStep": "3",
>     "Lights": [
>     ],
>     "Pieces": [
>         {
>             "Color": "4",
>             "ID": "3005",
>             "Name": "Brick  1 x  1 #01",
>             "Position": "-1.2 0.4 0.96",
>             "Rotation": "0 0 1 0",
>             "Step": "1"
>         },
>         {
>             "Color": "4",
>             "ID": "3005",
>             "Name": "Brick  1 x  1 #02",
>             "PositionKeys": [
>                 {
>                     "Step": "1",
>                     "Value": "-2 -3.6 0.96"
>                 },
>                 {
>                     "Step": "2",
>                     "Value": "-0.4 -3.6 0.96"
>                 },
>                 {
>                     "Step": "3",
>                     "Value": "-0.4 -2.8 0.96"
>                 }
>             ],
>             "RotationKeys": [
>                 {
>                     "Step": "1",
>                     "Value": "0 0 1 0"
>                 }
>             ],
>             "Step": "1"
>         }
>     ],
>     "Properties": {
>         "AmbientColor": "1 1 1",
>         "Background": "Solid",
>         "BackgroundGradientColor1": "0 0 0.74902",
>         "BackgroundGradientColor2": "1 1 1",
>         "BackgroundSolidColor": "1 1 1",
>         "FogColor": "1 1 1",
>         "FogDensity": "0.1"
>     }
> }
>
>
> _______________________________________________
> Leocad mailing list
> [email protected]
> https://list.gerf.org/listinfo/leocad
>
>
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to