@mxw/scene-converter
v2.3.0
Published
A module and command line tool that converts .scene files from ogre exporters to .jsx wom structures for Maxwhere.
Downloads
7
Keywords
Readme
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 -g
use
from command line:
$ scene-converter test.scene test.jsx
from javascript:
const fs = require('fs')
const parser = require('@mxw/scene-converter')
console.log(parser(fs.readFileSync('foo.scene', 'utf8')))
tests
run tests:
$ npm test
TODO
Things that should be implemented when Maxwhere
supports it:
- [ ]
castShadow
- [ ]
environment
(ambientColour
,backgroundColour
,fog
,skybox
)