@mxw/scene-converter

2.3.0 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @mxw/scene-converter

Weekly Downloads

0

Version

2.3.0

License

LicenseRef-LICENSE

Last publish

Collaborators

  • kistoth-mw
  • poord
  • pellerg
  • norberg
  • tamasbud
  • fletli
  • pergy
  • brenca
  • protostr