From development to production, assets have to be converted from a universally readable format to a compressed binary format (for performance & copyright protection).
Plethora of options:
- from compiled programs to scripts in 3D modellers
- open source and proprietery solutions.
Most of them require manual operations on software installed on a single local machine...
With applications becoming increasingly reliant on networks, asset pipelines can gain some characteristics of a cloud service.
Desired features:
- Automated
- Simple API
- Content agnostic
- Modular
Grunt.js is the most popular Node-based solution for automating tasks...
- Runs (virtually) everywhere Node.js is available
- Can operate as a remote service
Grunt.js already minifies text, images... why not 3D?
That is the case for all other media (images, audio, video ...)
Asking a 3d artist to export in a web ready format is as awkward as asking a web developer to use 3d software...
Set and forget configuration that looks up in dirs and outputs the converted files.
grunt.initConfig({
three_obj: {
options: {},
dist: {
src: ['./media/*.obj'],
}
}
});
grunt.loadNpmTasks('grunt-3d');
grunt.registerTask('default', ['three_obj']);
When new models arrive, just execute:
grunt
OBJ -> Three JSON / Binary working now.
Add your own formats!
Grunt 3D can be used in any application pipeline.
Local dependencies only include Node.js
Can be setup as a remote service.
Web developers use their existing web tools
3D Modelers use their existing 3D software
Grunt 3D is open source software, you are free to contribute:
Created by Makis Tracend ( @tracend )
Distributed through Makesites.org
Released under the MIT license
All content in this presentation released under the Creative Commons Attribution 3.0 Unported License