Skip to content

gu-gridh/threejs-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 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.

Usage

  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

Simple Three.js implementation for rendering 3D textured models, created for teaching purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages