Skip to content

graphicsforge/thingiview.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thingiview.js

A javascript (using Canvas and WebGL if available) 3D model viewer. Uses the Three.js 3D Engine.

Features

  • does all the standard Three.js things
  • is made of awesome

Example


		<script src="js/three.min.js"></script>
		<script src="js/Thingiview.js"></script>
    <script src="js/NormalControls.js"></script>

    <script>
      var filename = "/some/3d/model.js"; // URL of a Three.js model
      var thingiview = new Thingiview();

      loader = new THREE.JSONLoader(false);
      loadCallback = function ( geometry, materials ) {
        thingiview.addModel( geometry );
      };
      loader.load(filename, loadCallback);

      var animate = function() {
        requestAnimationFrame( animate );
        thingiview.render();
      }
      animate();
    </script>

models can be converted to the Three.js JSON format via mersh or any of the other exporters included in the three.js project

About

3D Model Viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%