👑
Introduction Here are some small toys following the Official ThreeJS Documents and the Troisjs Guidlines, a framework designed for vue.
Dependencies
vue-cli
for quick project constructionelement-plus
for layout and small toolsthree
,troisjs
for rendering based on webGL
How to run
cd three-js-tutorials
npm install # install all dependencies
npm run serve # start serve
It takes a few seconds for models to be loaded, please be patient :)
Problems
I managed to create basic geometries and render them, and load models with textures and animations using three.js
. But I failed to load any local resource in troisjs
after a thousand trials. Could you tell me why?
welcome for communication 😉