Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.56 KB

README.md

File metadata and controls

52 lines (29 loc) · 1.56 KB

3D Model Viewer

3D Model Viewer is a simple example of using Model-Viewer project by Google.

You can watch your model on the browser or also in the space (if your device supported).

Demo

3D-Model-Viewer online demo

For experience AR mode, open it on your Mobile device.

Installation

There is nothing to install, just clone the repo and host it on your local machine.

If you need to add your 3D Model, Just add your model on the assets/models directory and also give it a .PNG for poster preview. after that, add a button for your model and add it in the slider which is on line 32 of index.html.

Usage

If you have python3 installed on your device try this command inside the directory

python3 -m http.server

and enjoy it on your local

OR

If you have nodeJS installed on your device Install http-server from NPM

npm install http-server

and inside directory run

http-server -c-1

License

MIT