4.0.0 • Published 8 months ago
rollup-plugin-gltf v4.0.0
rollup-plugin-gltf
Rollup plugin for optimizing glTF 3D models.
Quickstart
Install:
npm install --save-dev rollup-plugin-gltf
Build:
// rollup.config.js
import gltf from 'rollup-plugin-gltf';
import { textureResize } from '@gltf-transform/functions';
export default {
plugins: [
gltf({
transforms: [ textureResize({ size: [ 1024, 1024 ] }) ]
})
]
// ...
};
License
Apache License, Version 2.0.
This repository is maintained by the Research & Development team at The New York Times and is provided as-is for your own use. For more information about R&D at the Times visit rd.nytimes.com.
3.2.0
8 months ago
4.0.0
8 months ago
3.2.1-alpha.0
8 months ago
4.0.0-alpha.1
8 months ago
4.0.0-alpha.2
8 months ago
3.1.0
1 year ago
3.0.1
1 year ago
2.0.0
5 years ago
1.0.1
6 years ago
1.0.0
6 years ago