Skip to content

Instantly share code, notes, and snippets.

@otaviosoares
Last active October 2, 2017 23:44
Show Gist options
  • Save otaviosoares/8626105fa1adc0c51bd1ee2c7106632e to your computer and use it in GitHub Desktop.
Save otaviosoares/8626105fa1adc0c51bd1ee2c7106632e to your computer and use it in GitHub Desktop.
artyou vr
{
dimensions: {},
creator: "lasdlas",
experiences: [{
type: "IMAGE",
url: "image.jpg"
}, {
type: "TEXT",
text: "Lorem ipsum"
},
{
type: "AUDIO",
url: "audio.mp3"
},
{
type: "VIDEO",
url: "video.mp4"
}]
}
{
name: "Tour 1",
scenarios: [{
id: 'scenario-1',
image: 'path-to-img.jpg',
x: 0,
y: 0,
z: 0,
interactions: [
{
type: 'OBJECT',
name: "Object 1",
id: 'object-1',
position: {
x: 0,
y: 0,
z: 0,
rx: 0,
ry: 0,
rz: 0
}
},
{
type: 'LINK',
name: "Ir para o cenário 2",
to: 'scenario-2',
position: {
x: 0,
y: 0,
z: 0,
rx: 0,
ry: 0,
rz: 0
}
}
]
}, {
id: 'scenario-2',
image: 'path-to-img.jpg',
interactions: [
{
type: 'OBJECT',
name: "Object 2",
id: 'object-2',
position: {
x: 0,
y: 0,
z: 0,
rx: 0,
ry: 0,
rz: 0
}
},
{
type: 'LINK',
name: "Ir para o cenário 1",
to: 'scenario-1',
position: {
x: 0,
y: 0,
z: 0,
rx: 0,
ry: 0,
rz: 0
}
}
]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment