This animation engine will allow you to load fbx files to the web browser.
- ThreeJS
- Jquery
This library is used to load fbx file to the web browser, it handles rendering and memory management as well. This library is also asynchronous so be mindful when creating js code using it always use async and await to handle async js.
Before cloning this repo
- Install NodeJs https://nodejs.org/en/
- In terminal for mac type, the command npm install nodemon, this will install a custom library you will use to run the project.
- For Windows install VSCode using https://code.visualstudio.com/, type the command npm Install nodemon in its terminal
- Type npm install either this will install all the needed dependencies.
- Type nodemon app to run the application.
- Visit the directory http://localhost:7000/ to view the full application.
If you successfully run the project after all the needed components have been installed you will be able to see the following result.
You can control the projects settings using the control panel show below
- Artifact changes the animation model
- Animation controls the action of the model
- texture controls the color of the model
- pause pauses the animation
- wireframe shows the structure of the model
You will be able to monitor how much resources the application consumes by looking at the tool below.