import { TextureFiltering } from '../src/texture'; import { ColourSpace } from '../src/util'; import { THeadlessConfig } from './headless'; export const headlessConfig: THeadlessConfig = { import: { filepath: '/Users/lucasdower/ObjToSchematic/res/samples/skull.obj', // Must be an absolute path }, voxelise: { voxeliser: 'bvh-ray', desiredHeight: 80, useMultisampleColouring: false, textureFiltering: TextureFiltering.Linear, voxelOverlapRule: 'average', enableAmbientOcclusion: false, // Only want true if exporting to .obj }, assign: { textureAtlas: 'vanilla', // Must be an atlas name that exists in /resources/atlases blockPalette: 'all-snapshot', // Must be a palette name that exists in /resources/palettes blockAssigner: 'ordered-dithering', colourSpace: ColourSpace.RGB, fallable: 'replace-falling', }, export: { filepath: '/Users/lucasdower/Documents/out.obj', // Must be an absolute path to the file (can be anywhere) exporter: 'obj', // 'schematic' / 'litematic', }, debug: { showLogs: true, showWarnings: true, showTimings: true, }, };