Online demo: http://xmlyqing00.github.io/OBJViewer.
This project is based on three.js
Click TRY DEFAULT OBJ
or upload your *.obj
file. Drag mouse or scroll to view the 3D object.
index.html
: The main web page displays the rendered results and information.js/render.js
: This JS contains the render routine and button functions. In the first line of thejs/renderer.js
, the variableobjPath
points to the path of the default object file.
MIT
If you use this repository in your project, please cite this page.