Skip to content

(Its for my personal needs) Generic Software for virtual tours.

License

Notifications You must be signed in to change notification settings

nbinkunwar/virtualTour

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virtualTour

virtualTour is a generic software that allows to create custom virtual tours.

License

virtualTour is licensed under GNU GPL V3.

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

(Its for my personal needs) Generic Software for virtual tours.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.7%
  • Other 1.3%