Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 957 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 957 Bytes

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