Difference between revisions of "Scene viewer"
From ElphelWiki
(Created page with "==<font color="blue">Description</font>== View 3D models made by [https://blog.elphel.com/2017/09/long-range-multi-view-stereo-camera-with-4-sensors/ 4-sensor stereo camera (3...") |
|||
Line 33: | Line 33: | ||
<model name='1502241323_909309' version='v1' translation='0,0,0' rotation='0,0,0'></model> | <model name='1502241323_909309' version='v1' translation='0,0,0' rotation='0,0,0'></model> | ||
</Document> | </Document> | ||
+ | [[File:Sv menu.png|thumb|Fig.1 Load extra models button]] | ||
+ | where, | ||
+ | |||
+ | '''name''' - model name which, also a part of the path: ''models/model-name'' | ||
+ | |||
+ | '''version''' - model version, also a part of the path: ''models/model-name/version'' | ||
+ | |||
+ | After creating ''extra.xml'' - reload the viewer with the current model opened - a new button for loading extra models will appear in the top right corner - with the white + (see Fig.1). | ||
Revision as of 10:58, 5 October 2017
Contents
Description
View 3D models made by 4-sensor stereo camera (393)
Working with multiple models
Enable extra models for the current scene
Done manually, must have write access to the server.
- Add extra.xml to the model root folder, example:
models └── 1502241339_511232 ├── 1502241339_511232.kml ├── extra.xml ├── marks.xml ├── rating.txt ├── thumb.jpeg └── v1/
- Edit, example:
<?xml version="1.0" encoding="UTF-8"?> <Document> <model name='1502241144_558169' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241192_370517' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241208_379788' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241221_790020' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241238_215143' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241251_555958' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241264_932252' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241277_133145' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241291_000749' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241305_924517' version='v1' translation='0,0,0' rotation='0,0,0'></model> <model name='1502241323_909309' version='v1' translation='0,0,0' rotation='0,0,0'></model> </Document>
where,
name - model name which, also a part of the path: models/model-name
version - model version, also a part of the path: models/model-name/version
After creating extra.xml - reload the viewer with the current model opened - a new button for loading extra models will appear in the top right corner - with the white + (see Fig.1).
Adjust position/orientation of loaded models
- Load extra models
- Enable mode