Skip to content

SMART-BUILDING-SUPERVISION-PLATFORM/model_3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virtualTour - Generic Software for virtual tours

virtualTour is a generic software that allows to create custom virtual tours and publish them on the web.

virtualTour is written in JavaScript. It contains styles and icons, but can be adjusted according to own needs. The package offers a simple tour containing some exemplary content and schemas to all necessary configuration files and formats, such as the JSON file, the positioning of map and navigation.
Own content (panoramic images, text, audio, links) can be added to the particular folders in "resources".

For an example see the Virtual Tour to the Inscriptions of the UNESCO World Heritage Site St. Michael in Hildesheim

Virtual Tour to the Inscriptions of the UNESCO World Heritage Site St. Michael in Hildesheim. panoramic images: i3mainz, University of Applied Sciences Mainz

For structure, possibilities ans usage of teh software see: Anna Neovesky, Julius Peinelt: A virtual tour to the inscriptions of the UNESCO World Heritage Site St. Michael in Hildesheim, in: Electronic Visualisation and the Arts (EVA 2015), S. 285 - 290. DOI: 10.14236/ewic/eva2015.31.

License and Contribution

virtualTour is licensed under GNU GPL V3.
virtualTour is developed at the Digital Academy of the Academy of Sciences and Literatur | Mainz.

Conception and Software Development:
Anna Neovesky, Julius Peinelt

Dependencies and Requirements

virtualTour depends on Three.js in revision 68 and other smaller scripts by [Mr. Doob] 1. Further it uses a helper script by [stemkoski] 2 to handle full screen support. The used shader are inspired by [zz85] 3. The effect composer for applying shader is by [alteredq] 4.

To use virtualTour you need a web browser with WebGL support. For more information have a look at [caniuse.com] 5.

Embed virtualTour and create a panorama

To embed virtualTour in a web page have a look at the index.html of this repository. It is a minimal example web page with nothing but virtualTour on it. That means every DOM element listed there is needed. Also every imported JavaScript file on top is mandatory. To create a panorama with way points between different views consider the JSON files in the documentation folder (JsonSchema.json and LocationSchema.json). There you also find the documentation of the code.

Positioning of Hotspots and Transitions

For easier positioning of interactive elements you can add following lines to the update() function in panorama.js

console.log("Camera Target: " + vectorToString(camera.target));
    console.log("-----------------------------");

Just place them after the camera target was updated.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages