Revision Info: Documentation for ARchi VR Version 3.3 - April 2024
Table of Contents
Up to ARchi VR Content Creation
Up to ARchi VR Content Creation
The ARchi VR app supports in the AR view the following 3D file formats::
There are a number of useful tools to create 3D assets for ARchi VR:
The 3D view of ARchi VR is using Web3D technology and needs referenced 3D models in the glTF file format. For 3D items referencing 3D assets that should be persistent and be visible in the AR view as well as in the 3D view (e.g., catalog elements), you should provide both 3D file formats such as:
../3D/model1.usdz
../gltf/model1.glb
Use the glTF binary format with the .glb file extension. The glTF URL is derived from the original *.usdz file location by using the same base name with the .glb ending and by looking up the ../gltf/
directory.
Steps for converting 3D models from Sketchup 3D Warehouse:
$ python /Users/philipp/Documents/dev/repository/gltf2usd/Source/gltf2usd.py -g 'model.gltf' -o model.usdz
Declare and combine in an Action several items with their corresponding 3D visualizations:
Group items into assembly hierarchies using children
dependencies. Only add root item of assembly hierarchy to the AR scene, all children elements will be added automatically to the scene tree.
Example of a delARed item with a hierachical assembly tree:
{
"$schema": "https://service.metason.net/ar/schemas/action.json",
"items": [
{
"id": "net.metason.archi.labelline",
"type": "Route",
"subtype": "Polyline",
"vertices": [
[
0.0,
0.0,
0.0
],
[
0.4,
0.0,
0.0
],
[
0.6,
0.2,
0.0
],
[
0.6,
0.4,
0.0
]
],
"attributes": "color:white;"
},
{
"id": "net.metason.archi.underline",
"type": "Route",
"subtype": "Line",
"vertices": [
[
-0.24,
-0.05,
0.0
],
[
0.24,
-0.05,
0.0
]
],
"attributes": "color:white;"
},
{
"id": "net.metason.archi.textlabel",
"type": "Spot",
"name": "ARchi VR",
"subtype": "Text",
"attributes": "color:white;"
},
{
"id": "net.metason.archi.underlinedlabel",
"type": "Geometry",
"subtype": "Group",
"attributes": "wxdxh:0.4x0.0x0.1;billboard:1;x:0.6;y:0.4;",
"children": "net.metason.archi.underline, net.metason.archi.textlabel"
},
{
"id": "net.metason.archi.labelgroup",
"type": "Geometry",
"subtype": "Group",
"attributes": "wxdxh:0.6x0.0x0.5;",
"setup": "https://service.metason.net/ar/content/testcuration/children.json",
"children": "net.metason.archi.labelline, net.metason.archi.underlinedlabel"
}
],
"tasks": [
{
"do": "add",
"id": "net.metason.archi.labelgroup",
"ahead": "0.0 0.0 -1.0"
}
]
}
DeclARed 3D items with assembly tree can be created by referencing the Action script URL in the asset
field such as:
{
"id": "net.metason.archi.subgroup",
"type": "Geometry",
"subtype": "Group",
"asset": "https://service.metason.net/ar/content/testcuration/geomgroup.json"
}
The ARchi VR app supports the following image file formats:
The ARchi VR app supports the following audio file formats:
The ARchi VR app supports the following video file formats:
Back to Table of Contents of ARchi VR Content Creation
Copyright © 2020-2024 Metason - All rights reserved.