Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibauts/pop-buffer
Progressive encoding for 3D meshes
https://github.com/thibauts/pop-buffer
Last synced: 3 months ago
JSON representation
Progressive encoding for 3D meshes
- Host: GitHub
- URL: https://github.com/thibauts/pop-buffer
- Owner: thibauts
- License: mit
- Created: 2015-03-06T23:05:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-26T23:54:23.000Z (almost 10 years ago)
- Last Synced: 2024-10-20T05:34:48.790Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 148 KB
- Stars: 62
- Watchers: 9
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pop-buffer
==========
### Progressive encoding for 3D meshesImplements POP Buffers, as described [here](http://x3dom.org/pop/files/popbuffer2013.pdf).
Install
-------```bash
$ npm install pop-buffer
```Example
-------```javascript
var bunny = require('bunny');
var encode = require('pop-buffer').encode;
var decode = require('pop-buffer').decode;var popBuffer = encode(bunny.cells, bunny.positions, 16);
var mesh = decode(popBuffer);
```Demo
----Check the [online demo](http://requirebin.com/?gist=538bb6f0da184e91c26a) or
```bash
$ git clone https://github.com/thibauts/pop-buffer.git
$ cd pop-buffer
$ npm install
$ npm run demo
```