12 Commits

Author SHA1 Message Date
laurielabs
e85b83b16a fixed threejs example vertex color normal (#74)
* fixed threejs example vertex color normal
2017-03-07 08:32:29 -08:00
Ondrej Stava
0a9c9c7b8b Update to our THREE.js example: DracoModule is now instantiated in
DRACOLoader class using closure to prevent multiple instantiations.
2017-02-28 09:04:51 -08:00
Ondrej Stava
127484be47 Updating draco decoder javascript API and other minor changes.
1. Javascript decoder is now exported as a module using DracoModule()
function that needs to be instantiated on the client.

2. Updated Javascript example applications and README.md

3. Added normalization function to VectorD

4. Added support for converting a single signed value to symbol for
entropy coding and vice versa

5. Minor code cleaning
2017-02-27 15:46:48 -08:00
Frank Galligan
931a1de144 Fix Javascript and Windows builds.
1. Updating our javascript decoders reflecting latest changes.
2. Fix windows testing.
2017-02-17 10:02:19 -08:00
Frank Galligan
a282c3ed5b Optimize three.js rendering and other small fixes.
1. Optimize loading of mesh data into three.js in Chrome.
2. Small refactoring of our traversal encoding code.
2017-02-16 17:27:56 -08:00
Ondrej Stava
ef7ad0fda3 Merging latest changes from the private repo.
1. Added support for loading sub-objects in .OBJ into a generic
attribute.

2. Added missing mesh_are_equivlent classes needed for certain unit
tests.

3. Updated javascript decoder reflecting our latest changes + added
support for GeometryAttribute::custom_id() method.

4. Added checks for valid quantization bits to our draco_encoder app.
2017-02-14 14:33:55 -08:00
Ondrej Stava
8374e14042 Merging changes from our private repo:
1. More optimized selection of prediction schemes for different
compression levels on the encoder side.

2. Improved robustness to tampered input data (.drc)

3. Added support for strognly typed vectors of bools

4. Support for logging and squared lenght to our VectorND class

5. Added support for partially defined indices in .OBJ files

6. Added support for loading of normal vectors in .PLY files
2017-02-08 10:34:40 -08:00
Jeff Nusz
554909a156 check if texCoords defined before looping through all coordinates 2017-01-24 16:54:03 -08:00
Jeff Nusz
c2449397d3 Javascript loader: load texture coordinates 2017-01-24 11:24:24 -08:00
Frank Galligan
3682ca2801 Make decoder more robust, build and Javascript fixes
1. Add 'use strict'to example Javascript.
2. Small fixes to README.md.
3. Fix Draco compiler flag tests.
4. Fixed issue when number of quantized bits was to large.
5. Changed StartDecoding to return a value.
6. Check that num of attributes are not less than 0.
7. Check that the number of attributes is a valid value.
2017-01-23 14:55:45 -08:00
Frank Galligan
6da5d81b21 Roll Draco 2017-01-13 12:06:19 -08:00
Frank Galligan
3c8f789d6a Version 0.9.0 snapshot 2016-12-12 16:39:06 -08:00