Ottavio Hartman
644c281e9c
Switch from gulp-eslint to the ESLint CLI. Switch to eslint-config-cesium 2.0.
2017-06-27 13:20:48 -04:00
Rachel Hwang
2706b95b5b
correct cross product calculation
2017-06-26 12:49:57 -04:00
Rachel Hwang
a07ef6a3ab
refactor line buffering
2017-06-26 12:23:34 -04:00
Sean Lilley
d728340ad4
Keep diffuse intact so that shader generation for generateNormals works correctly
2017-06-22 21:18:12 -04:00
Rachel Hwang
2105e7bf82
adding winding order sanitization when normals are provided
2017-06-16 14:08:12 -04:00
Rachel Hwang
2396899f5d
refactored face line parsing to support multiline faces
2017-06-16 12:59:34 -04:00
Rachel Hwang
7e82e90b35
adding convexivity test and fan method for convex polygon triangulation
2017-06-15 11:11:27 -04:00
Rachel Hwang
d1ac5816d4
make mip-mapping on by default
2017-06-14 19:27:14 -04:00
Rachel Hwang
50d26f4fd7
loads concave faces with more than 3 vertices
2017-06-14 17:08:55 -04:00
Rachel Hwang
133e428cb4
get n-many vertices for a face
2017-06-13 20:48:09 -04:00
Matthew Amato
f141c2d9c9
Update npm dependencies
...
A few npm dependencies were major versions behind, so this updates `yargs`,
`fs-extra`, and `jasmin-spec-reporter` to their latest versions.
The major change here is `fs-extra`, which now has promise implementations
of all functions by default, this means there's no reason to manually
`Promisify` a function any more, the result is less code overall.
There is one important edge case, `fs-extra` uses built-in native Node
promises, which do not have a `finally` function. If you start a promise
change with an `fs-extra` function, you need to wrap it in `Promise.resolve`
in order to make use of finally at the end (assuming you are using finally
at all, if not you don't need to worry about it. The upside is that your
code will always error if you forget to do this.
2017-05-19 11:37:33 -04:00
Sean Lilley
86c604826c
Treat alpha as 1.0 - Tr
2017-05-18 09:32:06 -04:00
Sean Lilley
c2af8f5098
Tests
2017-05-10 13:10:59 -04:00
Sean Lilley
44e9d5fa3b
Add back KHR_materials_common
2017-05-04 15:39:01 -04:00
Sean Lilley
dc4ba7fc6a
Merge branch 'master' into gltf-2.0
2017-05-04 14:34:33 -04:00
Sean Lilley
c9ad66fcdb
Add metallicRoughness and specularGlosiness output
2017-05-04 14:25:08 -04:00
Sean Lilley
81201dcd03
Return Promise.reject instead of throwing error
2017-04-27 13:35:47 -04:00
Ed Mackey
f9c0e130aa
Merge pull request #62 from AnalyticalGraphicsInc/single-bin
...
Don't save out two bins
2017-04-25 16:27:31 -04:00
Sean Lilley
403e4cf68e
Spec improvements
2017-04-25 13:02:14 -04:00
likangning93
930b14a350
Merge pull request #68 from AnalyticalGraphicsInc/up-axis
...
Options to convert up axis
2017-04-25 10:15:34 -04:00
Sean Lilley
20bbd17cd9
Fix ambient of 1,1,1
2017-04-23 13:34:09 -04:00
Sean Lilley
ec7acba6a9
Fix doc
2017-04-20 15:09:03 -04:00
Sean Lilley
93dac5ebdc
Convert up axis
2017-04-20 14:43:59 -04:00
Sean Lilley
d6d0d392c6
Remove occurences of khr_materials_common for code (not tests yet)
2017-04-20 10:23:00 -04:00
Sean Lilley
d7a354b313
Use temp directory
2017-04-20 10:07:01 -04:00
Sean Lilley
ce5221c80a
2.0
2017-04-19 17:53:10 -04:00
Sean Lilley
a6ff230fc3
Don't save out two bins
2017-04-14 12:00:43 -04:00
Sean Lilley
37febbcd93
Renaming files
2017-04-12 16:55:03 -04:00
Sean Lilley
cc8fee19c4
Many updates
2017-04-11 17:38:03 -04:00
Sean Lilley
28d081e0ae
Remove TODO comment, moved to isse
2017-04-05 13:17:31 -04:00
Sean Lilley
965402c535
Handle file path errors and better promise handling
2017-04-05 10:44:28 -04:00
Sean Lilley
72c20eb6ee
Fix output file name
2017-04-05 09:13:28 -04:00
Sean Lilley
bedbb6ef96
Fix tests and jshint
2017-04-04 17:57:01 -04:00
Sean Lilley
02c3aa18db
Support KHR_materials_common output
2017-04-04 17:55:00 -04:00
Sean Lilley
c7b4fc3cb1
Custom logger
2017-04-04 17:33:25 -04:00
Sean Lilley
3c958e1d86
Add secure checking of paths
2017-04-04 16:45:21 -04:00
Sean Lilley
04ad694599
Trigger coverall
2017-04-04 11:32:18 -04:00
Sean Lilley
e3941daf8c
Fix
2017-03-21 14:51:48 -04:00
Sean Lilley
83e7723b1c
Transparency and other updates
2017-03-21 14:43:09 -04:00
Sean Lilley
e48320572b
Fix base path since separate resources are saved in the output folder
2017-03-21 11:29:02 -04:00
Sean Lilley
05b1e3adbd
Added flag checkTextureAlpha
2017-03-17 16:13:00 -04:00
Sean Lilley
0bf726cea7
Better handling of encoding base64 uris
2017-03-17 15:44:01 -04:00
Sean Lilley
dea55fec0f
Updates
2017-03-17 11:40:54 -04:00
Sean Lilley
5f6d84581f
Check for transparent pixels and fix for khr_materials_common
2017-03-15 13:05:32 -04:00
Sean Lilley
41956dd70d
Output separate resources even when --bypassPipeline is set
2017-03-14 16:42:42 -04:00
Sean Lilley
cf27c8b69d
Better buffer handling
2017-03-14 14:59:25 -04:00
Sean Lilley
998dcfe649
Fix saving .bin
2017-03-14 13:48:54 -04:00
Sean Lilley
d46d58fdc5
Set diffuse to black when constant lighting is used
2017-03-14 12:06:50 -04:00
Sean Lilley
b8b118bca0
Refactor and tests
2017-03-14 10:43:28 -04:00
Sean Lilley
767612643c
Fix wrong param name
2016-08-26 15:49:55 -04:00
Sean Lilley
c79684b10e
Added compress flag and updated version number
2016-08-25 13:48:34 -04:00
Sean Lilley
20deda83e3
Fix bug with no materials
2016-08-08 11:38:54 -04:00
Sean Lilley
2d6e0d16c9
Added --cesium option and bumped version number
2016-07-25 19:12:41 -07:00
Sean Lilley
e5f5970018
Style tweaks
2016-07-22 18:21:09 -07:00
Robert Taglang
ca7f0cca45
Missing a return for images
2016-07-22 17:40:29 -04:00
Robert Taglang
6c0c39761b
Fixed issue with missing material
2016-07-22 17:28:48 -04:00
Robert Taglang
dc1a1976db
Last few tweaks
2016-07-22 16:17:27 -04:00
Robert Taglang
68582967ac
Changed callback code to promises
2016-07-22 14:09:13 -04:00
Sean Lilley
49f37d5798
Updated README
2016-07-20 14:51:40 -04:00
Sean Lilley
3169452ca0
Instead of -e command line flag, use -s or -t
2016-07-20 14:23:58 -04:00
Sean Lilley
ad0866efde
Added ao option
2016-07-12 18:14:56 -04:00
Sean Lilley
96067deba1
Flip uv.y
2016-06-29 11:45:22 -04:00
Sean Lilley
d4131a956c
Support quantize option
2016-06-24 14:04:12 -04:00
Sean Lilley
1b78afd6eb
Support vertex/ pattern
2016-06-23 22:57:51 -04:00
Sean Lilley
388f9928c3
Use different read-line library
2016-06-23 22:35:07 -04:00
Sean Lilley
139f473785
Fix image uris and use better naming for separate resources
2016-06-23 22:01:36 -04:00
Sean Lilley
1a2162ad85
Expand comment
2016-06-23 11:14:38 -04:00
Sean Lilley
0f7b5edcd7
jshint fixes
2016-06-22 16:41:36 -04:00
Sean Lilley
31760c34a8
Read lines from stream and handle negative indices
2016-06-22 16:16:29 -04:00
Sean Lilley
fec860ede0
Remove whitespace
2016-06-22 10:35:42 -04:00
Sean Lilley
06b68cd6a0
Fix jsHint warnings
2016-06-22 10:12:00 -04:00
Sean Lilley
10925599e1
Read obj with streams and handle large buffers
2016-06-22 10:10:36 -04:00
Sean Lilley
4052ef1b77
Upgrade for gltf-pipeline
2016-06-10 17:43:30 -04:00
Sean Lilley
f3499320ad
Support vertex/uv/ pattern
2015-12-22 08:41:02 -05:00
Patrick Cozzi
d384d3f778
Fix primitive.primitive -> primitive.mode
2015-11-04 07:35:38 -05:00
Patrick Cozzi
80522f46d4
Rename combine to embed
2015-10-20 09:55:15 -04:00
Sean Lilley
87c8d2efb2
Support absolute paths
2015-10-19 18:13:29 -04:00
Sean Lilley
d38b3bc82f
Updated readme with command line flags
2015-10-19 17:47:03 -04:00
Sean Lilley
b37a582723
Auto-generate normals if they are missing
2015-10-19 17:03:50 -04:00
Sean Lilley
3708651148
Specular and texture fixes
2015-10-19 13:35:28 -04:00
Sean Lilley
c8c4d56744
Convert obj to gltf
2015-10-18 23:15:28 -04:00