Skip to content

gu-gridh/three.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46,902 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js Viewer

This project is a 3D viewer built using Three.js. Options such as lighting, fog, camera, and the model path can be adjusted through the viewer.js file.

Getting Started

Install Visual Studio Code and drag in the unzipped folder.

  1. Create a new folder called models at the root of your project. Add the .glb model to that folder. Add model

  2. Expand the JS folder and open the viewer.js file. Open viewer file

  3. Update the modelUrl to the name and path of your model. Usually something like: ../models/capital.glb Update model path

  4. Click the extensions tab on the left toolbar. Open extensions

  5. Search for and then install the Live Server plug-in. Install plugin

  6. Right-click on the index.html file and select Open with Live Server. Start project

Your browser will automatically open the application.

License

This project is licensed under the MIT License.

About

JavaScript 3D Library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 99.7%
  • Other 0.3%