Giter Club home page Giter Club logo

threejs_walking's Introduction

Node modules used:
    
npm init -y
npm install --save three
npm install --save-dev webpack
npm install --save-dev webpack-cli
npm install eslint --save-dev
    
ESLint (then edit .eslintrc.js)
    
node node_modules/eslint/bin/eslint.js --init
    
Build Webpack DEV dist/main.js and run from project root
    
npm run dev ; python -m http.server
    
Build Webpack PRD dist/main.js and run from project root
    
npm run prd ; python -m http.server
    
Other notes:
    
- Use directional arrows to move (hold shift to run).
  Hold 'p' while standing still to throw a haymaker.

- Easily combine Mixamo model animations:
  https://nilooy.github.io/character-animation-combiner/

- Evenly scale a Mixamo model/object in Blender:
  https://blender.stackexchange.com/a/44738

- Recenter an object in Blender after scaling:
  https://blender.stackexchange.com/a/3217

* The dist/ folder included in this repo has had its paths
  altered for all .glb files using the included update_paths.sh
  script in order to serve the project using Github Pages. The
  normal webpack build that runs locally will use paths pointing
  to the parent directory, similar to ../assets/filename.glb.
  Github Pages requires paths to start from project root such as
  assets/filename.glb. Only use update_paths.sh if deploying to
  Github Pages.
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.