UofTMADLab / reach

A VR format for Twine
0 stars 0 forks source link

document rotation options for 360 background image #51

Open titaniumbones opened 4 years ago

titaniumbones commented 4 years ago

IIUC these are the options for passage background ("sky") images:

schema: {
    id: {type: "string", default: REACH_DEFAULT_NULL},
    distance: {type: "number", default: REACH_DEFAULT_NULL_NUMBER},
    direction: {type: "number", default: 0.0},
    directionInDegrees: {type: "boolean", default: false},
    inclination: {type: "number", default: 0.0},
    transparent: {type: "boolean", default: true},
    opacity: {type: "number", default: 1.0},
    src: {type: "string", default: "#reach-default-360"},
    onLoaded: {type: "string", default: REACH_DEFAULT_NULL}

}

"direction" in particular is useful for orienting the viewer on entry into the passage. Maybe what's needed is a little intro to a-frame.

samesimilar commented 4 years ago

I've updated this in the documentation (readme file). Let me know if it helps!