2.3.0 • Published 9 years ago
@mxw/scene-converter v2.3.0
scene-converter
A module and command line tool that converts .scene files from ogre exporters to .jsx wom structures for Maxwhere.
install
$ npm i @mxw/scene-converter -guse
from command line:
$ scene-converter test.scene test.jsxfrom javascript:
const fs = require('fs')
const parser = require('@mxw/scene-converter')
console.log(parser(fs.readFileSync('foo.scene', 'utf8')))tests
run tests:
$ npm testTODO
Things that should be implemented when Maxwhere supports it:
castShadowenvironment(ambientColour,backgroundColour,fog,skybox)