galacean / tools

Some galacean engine related asset processing or auxiliary tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Engine Tools

npm-size npm-download codecov

Some useful tools that can be used in Galacean engine.

Tools

  • 🍞  baker - Off-Screen Rendering, to generate Spherical harmonics and IBL mipmaps
  • 🛠  atlas - Atlas tool for galacean engine
  • ⚒️  atlas-lottie - Transform lottie JSON file to atlas format in galacean engine. This tool will generate a folder which contains three files: a processed lottie JSON file, an atlas file and an image.
  • ⚾︎  color-dilation - Remove black borders from image.

The tools is published on npm with full typing support. To install, use:

npm install @galacean/tools

This will allow you to import tools entirely using:

import * as TOOLS from "@galacean/tools";

or individual classes using:

import { IBLBaker } from "@galacean/tools";

Contributing

Everyone is welcome to join us! Whether you find a bug, have a great feature request or you fancy owning a task from the road map feel free to get in touch.

Make sure to read the Contributing Guide / 贡献指南 before submitting changes.

Build

prerequisites:

  • Node.js v15.0.0+ and NPM (Install Node.js By official website)
  • PNPM (Install Pnpm globally by npm install -g pnpm)

First, you need to install the dependencies:

pnpm install

Then, to build the source, using npm:

npm run b:all

Links

License

The engine is released under the MIT license. See LICENSE file.

About

Some galacean engine related asset processing or auxiliary tools

License:MIT License


Languages

Language:TypeScript 92.5%Language:JavaScript 7.5%