Skip to content

ideesculture/meshviewer

Repository files navigation

MeshViewer

Simple 3D objects file viewer in Three.JS (WebGL)

Target

The objective is to create a simple object viewer that can well handle low-rez 3d meshes & textures for CollectiveAccess.

Demo

Click here to see a live demo of the 3D mesh viewer with some OBJ examples.

Just select the example you want to show in the examples menu.

Howto

This viewer is easy to handle, give the path to the obj & mtl files, the ID where you want the viewer to be in, eventually a format if it can't be guessed

<script type="text/javascript">
meshviewer({
  'objFile' : 'examples/cow/mesh.obj',
  'mtlFile' : 'examples/cow/mesh.mtl', 
  'container':'#viewer', 
  'format':'obj'});
</script>
<div id="viewer">
</div>

See index.html for more informations.

Credits

Icons : Gentleface licence Creative Commons Attribution-NonCommercial

About

3D OBJ file viewer in Three.JS (WebGL)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages