545 Commits

Author SHA1 Message Date
Frank Galligan
51db0e4563 Update bitstream spec to version 2.1
This only updates the algorithm part.

This is associated with #134
2017-09-30 15:11:11 -07:00
FanZhang
0fd3128845 Merge pull request #196 from google/add_missing_file_for_tests
Added test material file
2017-09-11 16:01:31 -07:00
Fan Zhang
4d462c930d Added test material file 2017-09-11 15:58:35 -07:00
Ondrej Stava
dc28e6a2ea Updated Draco to 1.1.0
The latest version of Draco brings a number of new compression
enhancements for even smaller models:
- Improved compression
  - Up to 40% better compression of normals
  - Up to 5% better compression for models with multiple attributes
- Faster decode speeds
  - 30% faster decoding for models with multiple attributes for lower compression levels 4 and below
    - Note: Decreases compression by 10%.
- Encoding of metadata to .obj (e.g. Draco can preserve material or sub-object names)
- Security fixes
1.1.0
2017-09-11 15:38:19 -07:00
FrankGalligan
5da5579bc1 Merge pull request #194 from google/travis
Add basic Travis-CI support.
2017-09-08 08:22:17 -07:00
Tom Finegan
10f0ba91f5 Avoid unnecessary osx builds. 2017-09-07 19:26:58 -07:00
Tom Finegan
4b4dfa518d Clone googletest alongside draco. 2017-09-07 17:35:42 -07:00
Tom Finegan
2f449dea0b Add mac support to travis config. 2017-09-07 12:27:33 -07:00
Tom Finegan
577c7aa8c5 Output versions only for the active compiler. 2017-09-07 12:11:38 -07:00
Tom Finegan
4a44eec6f1 Fix test flag name. 2017-09-07 11:54:27 -07:00
Tom Finegan
f8059008b3 Reduce CMake minimum version to 3.2. 2017-09-07 07:22:28 -07:00
Tom Finegan
379934430a Remove sudo and hopefully allow container based testing. 2017-09-06 12:42:50 -07:00
Tom Finegan
7c0bdaaa73 Set os to linux. 2017-09-06 11:36:17 -07:00
Tom Finegan
4c013da418 Enable ccache 2017-09-06 10:24:39 -07:00
Tom Finegan
61fcd39545 Add basic Travis-CI support.
- Installs gcc/g++ 6, cmake, and ccache.
- Builds and runs draco_tests.
2017-09-06 09:30:57 -07:00
FanZhang
b4211303fa Merge pull request #187 from google/increase_sub_id_by_1
Increase sub id by 1
2017-08-23 12:23:57 -07:00
Fan Zhang
b4421050dd increase sub id by 1 2017-08-23 12:22:32 -07:00
FanZhang
b8f8aea97e Merge pull request #186 from google/fix_sub_obj_bug
Fix sub object id bug
2017-08-23 11:54:34 -07:00
Fan Zhang
087c1c34c3 Fix sub object id are the same bug 2017-08-23 11:52:01 -07:00
FanZhang
cd70826afe Merge pull request #179 from sjfricke/master
npm: fixed npm example
2017-08-22 12:44:35 -07:00
Nicholas Yue
dcf5cd67c4 Added handling for all enum in draco::DataType (#182)
* Added handling for all enum in draco::DataType

Added support for 64bit integer, 64bit float and boolean in
ConvertValue
Reordered the case label to match those in the enum
for easier maintenance in the long run

* Change tab to space characters

Inline with coding convention in project Draco
2017-08-22 09:45:41 -07:00
sjfricke
10586a65bb npm example Merge commit fix 2017-08-22 01:47:59 -07:00
FrankGalligan
92433ca250 Merge pull request #184 from google/update_snapshot
Update Draco snapshot.
1.0.1
2017-08-21 16:12:17 -07:00
Frank Galligan
c61ddb67f3 Update Draco snapshot.
-Increase version to 1.0.1
-Update Javascript decode timing example
-Fix async creation of DracoDecoderModule
-fixes wasm parallel decoding
-Introduce base class for geometric normal predictor
-Added integer attribute interface to JavaScript decoder
-Move loading Draco decoder into three.js Draco loader
-Add compiler launcher support to CMake build
-Add sanitizer support via CMake build
-Check we are not reading past the end of the attribute buffer
2017-08-21 16:04:57 -07:00
sjfricke
d076c0a052 Fixed README links
Fixed Contributing link, web_encoder link, and added clickable paths
2017-08-11 00:52:16 -07:00
sjfricke
3cbd970d93 npm: fixed npm example
allows draco3d to be called from same directory or npm package
2017-08-11 00:29:05 -07:00
tomfinegan
99b68b23dd Merge pull request #177 from google/add_dracoder_wrapper
Add decoder_webidl_wrapper sources.
2017-08-08 12:53:09 -07:00
Frank Galligan
b267d04c49 Add decoder_webidl_wrapper sources.
This fixes #176
2017-08-08 12:44:35 -07:00
tomfinegan
c8b6219ff9 Merge pull request #170 from nyue/master
Clean up superfluous directories draco/src in include
2017-08-07 12:17:04 -07:00
tomfinegan
29f50ba31c Update CMakeLists.txt 2017-08-07 12:16:04 -07:00
FanZhang
5aaf6d6512 Merge pull request #175 from google/fix_test
Add missing test files
2017-08-07 10:26:48 -07:00
Fan Zhang
97c516ad4f Add missing test files 2017-08-07 10:21:01 -07:00
FrankGalligan
2049e1a089 Merge pull request #173 from pps83/master
fix for #108 and workaround to avoid crash in #171
2017-08-07 10:05:40 -07:00
Pavel P
6a494a8a30 Do not dereference null attribute pointer
- avoids crash described in https://github.com/google/draco/issues/171
2017-08-06 22:37:10 -07:00
Pavel P
64c045bdae Fix handling short filenames (less than 4 characters)
- fixes https://github.com/google/draco/issues/108
2017-08-06 22:34:40 -07:00
FrankGalligan
e2de4f8f43 Merge pull request #172 from google/change_cmake_hint
Change Cmake hint so building will work
2017-08-06 13:30:10 -07:00
Frank Galligan
03e9fd2096 Change Cmake hint so building will work
This should help #168
2017-08-06 13:27:04 -07:00
Nicholas Yue
ad7b8c67cd Clean up superfluous directories draco/src in include
The way header files are glob resulted in two additional directories
being nested in include.
2017-08-05 14:19:37 -07:00
Frank Galligan
da71b48359 Add more CMake helper scripts plus more CMake updates.
- Disallow in-tree CMake runs.
- Adds back CONTRIBUTING.md.

This fixes #130 and hopefully addresses #163.
2017-08-03 16:13:08 -07:00
Lou Quillio
5c8b21d610 Merge pull request #165 from louquillio/syntax-table-heading
Add a "Type" heading on second column of syntax tables.
2017-08-03 12:39:05 -07:00
Lou Quillio
f0b0d1f6cf Add a "Type" heading on second column of syntax tables.
CSS generated content, using `:before`.
2017-08-03 12:37:10 -07:00
Lou Quillio
df02f874ec Merge pull request #164 from louquillio/normalize-monospace-rendering
Fix cross-browser monospace font rendering (Firefox CSS).
2017-08-03 12:07:15 -07:00
Lou Quillio
55a704b61b Fix cross-browser monospace font rendering (Firefox CSS).
Syntax tables rely on precise monospace font rendering
with regard to font-size and especially line-height.
This applies more specific selectors, in an attempt to
have Firefox render identically to Chrome.
2017-08-03 12:04:54 -07:00
Ondrej Stava
d0f313d292 Silence unknown link language warnings.
Fixes https://github.com/google/draco/issues/162
2017-08-02 15:17:59 -07:00
Ondrej Stava
10af829784 Updated Javascript and Wasm decoders with the correct
isVersionSupported() function.
2017-08-02 14:16:49 -07:00
Ondrej Stava
90577b3f08 Added missing CMake file. 2017-08-02 12:24:29 -07:00
Don McCurdy
f2f4efbc20 Simplify Node.js usage example. (#157)
* Fix 'node' global name in node.js example.

* Include GitHub URL with npm package.json.

* Simplify Node.js usage example.

* Correct attribute stride.

* Correct numVertexCoord -> numItems.

* Fix typo on attr constant.

* Simplify loop iteration.
2017-08-01 17:25:55 -07:00
Ondrej Stava
7c8cd74271 Fixed Visual Studio build + updated makefiles 2017-08-01 11:37:58 -07:00
Lou Quillio
4503028fb7 Merge pull request #159 from louquillio/typo
Typo
2017-07-31 22:20:51 -07:00
Lou Quillio
00aad2e35c Typo 2017-07-31 22:20:18 -07:00