chaotuotuo / osg-serializer-js

Pure JavaScript module for reading (and writing, hopefully) .osgb & .osgt files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

osg-serializer-js

osg-serializier-js is PureJS module for serializing .osgt and .osgb files.

The tool is still in development but I will be happy to your issues and contributions

UPDATE: Consider using wasm using OpenSceneGraph's most updated code (osg-wasm, openscenegraph-cross-platform-guide).

installation and usage

In terminal: npm install --save osg-serializer-js

In code:

const osg = require('osg-serializer-js');

file = osg.readFile("MyAwesome3DModel.osgb");

// start workin with 3d data

About

Pure JavaScript module for reading (and writing, hopefully) .osgb & .osgt files


Languages

Language:JavaScript 100.0%