Code Monkey home page Code Monkey logo

fbx2glb-batch-convert-optimizer's Introduction



NodeJS APP to Batch Convert fbx files to glb and Fast Optimization (Draco -- Texture Compression).

Setup NodeJS

  • Install NodeJS from https://nodejs.org/en
  • Download or Clone this Repository
  • Open a Terminal (Usign for example VSCode)
  • RUN: npm install (To Install NPM Libraries)

Setup Your FBX Files

  • Copy your FBX Files in "_input" directory, also you can use subdirectories

Convert FBX to GLB

  • RUN: node convert.js
  • Your Files will be converted in "_output" directory using the same structure
  • View the log and wait till finished

Optimize GLB Files

  • RUN: node optimize.mjs
  • Your files located in "_output" directory will be optimized to "_optimized" folder
  • You can tweak optimize.mjs code to adapt it to your needs (ie. const imageFormat = 'webp'; const imageSize = 512;)
  • View the log and wait till finished

This APP uses FBX2GLTF Library: https://www.npmjs.com/package/fbx2gltf

and GLTF-Transform: https://gltf-transform.dev/

fbx2glb-batch-convert-optimizer's People

Contributors

crazyramirez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mcelotti

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.