95 Commits

Author SHA1 Message Date
Lou Quillio
c0dcf7c2bc Port Draco bitstream spec to Markdown.
This represents the grunt-work of porting the gDocs
document to plaintext. There are decisions to make
and polish to be applied.
2017-07-09 18:33:42 -07:00
Ondrej Stava
e14955d9e3 Fixed color loading in our THREE.js example.
1. Proper handling of four component colors (RGBA)
2. Removed normalization step that is done internally in the DracoDecoder.
2017-06-30 10:49:50 -07:00
Arkady Shapkin
45712ff807 Fix build on Android with gnustl (#114) 2017-05-26 08:39:23 -07:00
Andrew McCloskey
8df1bcd1b6 Update parser_utils.cc (#106)
When using isspace(c), c should be an unsigned char given __chvalidator() requires a valid ascii value ( c >= -1 && c <= 255) and throws an error in the case of a signed char value between -128 and -2.
2017-05-10 11:35:05 -07:00
Will Brennan
ecdd29e44b fixed spelling mistakes in comments (#104) 2017-05-05 10:47:59 -07:00
FrankGalligan
67600aa521 Merge pull request #102 from google/ver_0-10-1
Increase version to "0.10.1"
2017-04-17 11:23:03 -07:00
Frank Galligan
34585b911a Increase version to "0.10.1"
This fixes #93
2017-04-17 11:19:03 -07:00
Lou Quillio
92d1011688 Merge pull request #97 from louquillio/rename-svg
Fix inconsistently-named SVG file.
0.10.0
2017-04-14 15:58:01 -07:00
Lou Quillio
faa636784b Fix inconsistently-named SVG file. 2017-04-14 15:56:59 -07:00
Lou Quillio
115c0a566a Merge pull request #96 from louquillio/add-illustrator-source
Add Adobe Illustrator logo source.
2017-04-14 15:51:49 -07:00
Lou Quillio
27e5615268 Add Adobe Illustrator logo source.
Print-shops prefer this proprietary vector format.
2017-04-14 15:49:36 -07:00
Lou Quillio
1569d3beaa Merge pull request #95 from louquillio/add-artwork
Add logo SVG source, and a collection of bitmaps (PNG).
2017-04-14 15:45:28 -07:00
Lou Quillio
371fd926c8 Add logo SVG source, and a collection of bitmaps (PNG). 2017-04-14 15:32:52 -07:00
Ondrej Stava
752fc38bf5 Fixing typos in README.md 2017-04-12 12:58:13 -07:00
Ondrej Stava
73bb3c8530 Version 0.10.0 snapshot
- Improved compression for triangular meshes (~10%)
- Added WebAssembly decoder
- Code cleanup + robustness fixes
2017-04-12 12:09:14 -07:00
Ondrej Stava
0d42cbb586 Fixed loading of .obj files that do not end with a new line character. 0.9.1 2017-04-06 15:42:55 -07:00
Ondrej Stava
6763aa325e Our javascript decoders are now built with flag for precise floating
point operations. This should resolve some issues with texture
coordinate compression.
2017-03-30 15:05:31 -07:00
Don McCurdy
4dac78e622 Expose .isVersionSupported() method on THREE.DRACOLoader. (#85)
* Expose .isVersionSupported() method on THREE.DRACOLoader.
2017-03-28 15:43:13 -07:00
Ondrej Stava
c7a5e903e5 1. Added support for loading quad meshes from .obj files
2. Fixed bug in javascript decoders that caused them to fail when
loading large geometries
2017-03-21 16:06:58 -07:00
Aaron Luk
10a25ba708 Fix build for sqrt usage in vector. (#84) 2017-03-18 22:32:02 -07:00
Don McCurdy
efa5604d64 Simplify steps required to run example. (#78)
* Simplify steps to run example.
2017-03-17 12:30:33 -07:00
gero3
e648e1bde5 Make sure errorMsg is defined (#76) 2017-03-10 07:56:41 -08:00
Ondrej Stava
db5e679828 Updated logging in our THREE.js example
- output to console
- needs to be explicitly enabled by settings a non-zero verbosity level
2017-03-09 16:42:13 -08:00
Ondrej Stava
59b297b18a Improved Javascript decoder size + bugfixing
Changes:
1. Javascript decoder can now be built separately for meshes and point
clouds. Together with other optimizations this results in about 33%
smaller Javascript for mesh decoder. (pre-built javascript for meshes
and point clouds is included).

2. Fixing bug in our symbol_encoder that resulted in failed encoding for
certain cases when there were around 1<<18 symbols.

3. Changing default setting of our draco_encoder app to -cl 7
2017-03-08 15:39:24 -08:00
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
ef36ca97ed Fixing build of mesh_are_equivalent
Adding missing test files needed by the mesh_are_equivalent_test
2017-02-14 15:41:17 -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
tomfinegan
17cdf150cb Merge pull request #64 from google/cmake_install
Add install rule to cmake build.
2017-02-14 11:00:13 -08:00
Tom Finegan
893c672b01 Add install rule to cmake build.
Installs includes, libs, and executables.

Based on https://github.com/google/draco/pull/21
2017-02-13 16:54:47 -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
Ondrej Stava
8c0911dcb0 Merge pull request #51 from benikabocha/fix-obj-minus-index
Fix loading of OBJ file with minus index.
2017-01-27 08:22:06 -08:00
benikabocha
150e65207f Fix loading of OBJ file with minus index. 2017-01-28 00:12:05 +09:00
Ondrej Stava
b3d372a426 Merge pull request #45 from customlogic/uvFix
Javascript loader: load texture coordinates (uvs)
2017-01-24 17:06:37 -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
Ondrej Stava
b0215d525b Making Draco decoder more robust when handling tampered input data.
Adding support for unit tests to Windows builds.
2017-01-19 15:23:10 -08:00
Ondrej Stava
27cf67cd0f Bugfixing and code cleanup:
1. Fixed crasher when dependent attributes were encoded.
2. Improved documentation to PointCloud::AddAttribute() methods
3. Fixed some of the inconsistencies with int64_t vs size_t usage
4. Fixed potential IO problems when the input stream does not start from 0.
2017-01-18 09:34:51 -08:00
Ondrej Stava
259b198fcf Fixing PLY encoder for Windows builds. 2017-01-17 19:39:02 -08:00
Lou Quillio
6bbe93511b Merge pull request #26 from KindDragon/patch-1
Rename CONTRIBUTING to CONTRIBUTING.md
2017-01-16 17:04:30 -08:00
Arkady Shapkin
fc341b61a5 Rename CONTRIBUTING to CONTRIBUTING.md 2017-01-17 03:47:54 +03:00
Ondrej Stava
6114eed6a0 Fixing javascript makefile. 2017-01-14 09:14:12 -08:00
Frank Galligan
1d3df8a8de Add triangle_soup_mesh_builder_test to draco_tests 2017-01-13 16:25:10 -08:00
Ondrej Stava
a58a08b7a0 Adding support for "vertex_index" property to the ply decoder.
The old decoder expected "vertex_indices" for the face list property.
2017-01-13 14:28:45 -08:00
Frank Galligan
6da5d81b21 Roll Draco 2017-01-13 12:06:19 -08:00
FrankGalligan
90cb5fcfec Merge pull request #13 from google/push_to_github
Update snapshot to 0.9.1
2017-01-12 17:10:34 -08:00