0.1.0 • Published 6 years ago
my-first-library-tav v0.1.0
Project Title
This Library is build for the purpose of viewing 3D image
Getting Started
To use this Library you have to install the Package and refer the files mentioned in dist/ directory. you have to include only geosys.3d.viewer.js file and other file will be loaded dynamically ,hen we initialize the library
Prerequisites
As such there is not any Pre Requirement for that
Give examples
Installing
one can install this module by simply
npm install my-first-library
This modules come up with bundled files and ready to use
If you want to see the demo of library ,
you have to perform these steps.
1. hHst the app to some server.you can use any web server / node server (Yu have to add the functionality of Node server yourself).
2 .There is one directory named "sample/" within root folder of APP
3.There is another Directory named "dist" within root folder. this is important directory , it contains all the dependencies required to run this app.
3.Some important file names within dist folder are "geosys.3d.viewer.js","vendor.js"
4.You have to include "geosys.3d.viewer.js" in application index.html file and "vendor.js" file is loaded Automatically when we initialize the library
5.There are some configurtions, which we have to provide to the APP.please find below the sample object that we passed to the library
{
setting: {
cssPath: "./dist/css/",
jsPath: "./dist/",
canvasId: "renderCanvas"
},
scene: {
texture: 'https://api-pp.geosys-eu.net/PrecisionAg/Geosys.PAg.GIS.WebAPI/v3/Temp/SmoLOpr8X0KNP_3SoxE-TQ.png',
heightMap: {
url: './data/dem.jpg',
width: 271,
height: 214,
subdivisions: 25,
minHeight: 0,
maxHeight: 10
}
}
## Built With
* [BabylonJS](https://github.com/BabylonJS) - Babylon.js: a complete JavaScript framework for building 3D games with HTML 5 and WebGL
* [CannonJS](https://github.com/schteppe/cannon.js/) - A lightweight 3D physics engine written in JavaScript.
## Contributing
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).
## Authors
* **Billie Thompson** - *Initial work* - [PurpleBooth](https://github.com/PurpleBooth)
See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
0.1.0
6 years ago