I write this project for learn computer graphics, only use js and html canvas, without webgl, so perfomance is low, don't use it on reality render, demo site.
本项目是为学习3D图形学而设立,主要是巩固背后数学和绘图知识,使用纯js编写,仅依赖了一个矩阵运算库,未使用webgl,所以性能比较弱,请勿用于实际用途,演示地址。
- wireframe render
- uv texture
- obj files loader
- auto rotate camera
git clone https://github.com/xiehuiqi220/smallJs3dRenderer.git
cd smallrenderer
npm install
npm run start
then will open a page on your browser, in this page, you can upload obj files or use example scene.