Giter Club home page Giter Club logo

collada2json's Introduction

Collada to JSON converter

The tool runs in a browser and converts Colladas to Threejs' own JSON format. The resulting JSON file can be downloaded to your hard disk. Textures, multimaterial and transparency are supported.

There are 2 versions, this is the preview version. It shows a preview of the model both as Collada and as JSON. There is a headless version as well that just converts the Collada, see this repository).

The preview version is suitable if you want to convert only one or a few models and check the models side by side for possible conversion errors. If you want to convert a large number of Colladas you’d better use the headless version.

You can checkout the code and run the tool on your local computer, or you can use live versions directly from these urls:

To run the code on your local computer:

  • npm install
  • npm run watch

The last command starts a local webserver at http://localhost:8000.

All npm scripts:

  • npm start → starts a local webserver at http://localhost:8000
  • npm run watch → compiles esnext code to javascript as soon as you have changed code
  • npm run build → compiles and minifies the code and creates a source map

collada2json's People

Contributors

abudaan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

collada2json's Issues

Unable to start the server ...

Hi there,

OS X 10.11.6 user. npm -v 3.10.9. I followed the instructions and the webserver does not appear to start.

On branch headless at 40b2ea9

npm run watch gives:

MacBook-Pro:collada2json_js jaylawrence$ npm run watch

collada-to-json-converter@ watch /Users/jaylawrence/Projects/collada2json_js
watchify js/* -t babelify -o build/build.js --debug --verbose | ws

serving at http://localhost:8000

/Users/jaylawrence/Projects/collada2json_js/js/three_constants.js:1
export default {
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
{ Error: ENOENT: no such file or directory, open 'build/build.js'
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'build/build.js' }

Nothin' listenin' on port 8080 ... and I notice that there's no build/build.js - perhaps missing in the commit?

Would love to have a running app as there's a couple changes needed for r82 support.

MANY Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.