2.3.0 • Published 7 years ago

@mxw/scene-converter v2.3.0

Weekly downloads
-
License
LicenseRef-LICENS...
Repository
-
Last release
7 years ago

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)