127 Commits

Author SHA1 Message Date
1chandu
d29dbe8ee8
Vertex array api (#391)
* Make Geometry parameter optional.
* Fix attribute binding warnings.
2018-01-22 13:35:59 -08:00
1chandu
b10a7d0b62
TransformFeedback: Add varyingMap support + new TF instancing example. (#385)
* TF: Fix vayringMap and add TF+Instancing example.
* update whatsnew doc.
2018-01-18 16:03:11 -08:00
Ravi Akkenapally
537e047f2f v5.0.0 2017-12-21 21:05:38 -08:00
1chandu
be430a33a7
Remove deprecated api usage (#367)
* Remove deprecated api usage.
* Fix inline attribute processing.
2017-12-06 11:35:01 -08:00
1chandu
84af949bf6
Cleanup: remove un-used picking code (#366)
* Fix deprecation warnings in examples
* Remove unused experimental folder
2017-11-30 14:57:45 -08:00
1chandu
6b274dd95e
Picking null color (#365)
* PICKING_NULL_COLOR -> null
* Rename long uniform names
2017-11-30 11:51:51 -08:00
1chandu
d1badc8104
4.1 API Audit (picking module, useDevicePixels) (#355)
* Remove 'pickingSelectedColorValid' module setting
* Rename 'useDevicePixelRatio' to 'useDevicePixels'
2017-11-20 15:03:30 -08:00
Ib Green
8ae5d7d9f0
Remove context in logging. Fix formatting in shader errors (#348) 2017-11-06 11:02:43 -08:00
Will Demaine
29b548ea2a Remove errant character in examples (#347) 2017-10-30 10:53:00 -07:00
1chandu
972aca8947 Picking module from deck.gl (#338)
* picking module: Copy enhanced module from deck.gl, update docs.
2017-10-10 18:02:41 -07:00
1chandu
ab6d5fcfcf Fix example framebuffer usage and conditionally add shader extension … (#330)
* Fix example framebuffer usage and conditionally add shader extension defines
2017-10-04 13:10:42 -07:00
Ib Green
9e3f47c776 Delete unused files (#325) 2017-10-02 11:27:54 -07:00
Jian Huang
9e8455e320 Add "lesson 13" example about fragment lighting and multiple programs (#311)
* New "lesson 13" example about fragment lighting and multiple programs

* code changes based on review.

* changes based on review
2017-09-15 11:26:57 -07:00
Jian Huang
7f40619652 Add "lesson 12" example about point lighting (#310)
* Add new example of "lesson 12" about point lighting

* Remove old example code

* changes based on code review.
2017-09-14 13:02:29 -07:00
Jian Huang
84373fab2c Add "math.gl" dependency for website (#309)
* Add "math.gl" dependency for website

* changes based on review
2017-09-14 11:26:40 -07:00
Jian Huang
5f0d132692 There is no UI controls in website, need use default value (#307) 2017-09-13 17:04:31 -07:00
Jian Huang
039f64b5b5 Lesson 11 example for creating textured and lighted sphere (#305)
* New example "lesson 11" to create sphere with texture and basic lighting.

* remove redundant imports

* Remove old example code

* changes based on code review.

* change website to have new examples.
2017-09-13 10:57:14 -07:00
Jian Huang
2d22d0a889 Change package info 2017-09-11 12:11:29 -07:00
Jian Huang
6c32292803 fix compiling warnings caused by deprecated APIs 2017-09-11 12:07:26 -07:00
Jian Huang
068f72b520 Fix another indention issue. 2017-09-08 16:29:24 -07:00
Jian Huang
27d4af748b Make example work with Safari without using "var" 2017-09-08 16:16:15 -07:00
Jian Huang
a93b79fbac update link and text 2017-09-08 15:37:34 -07:00
Jian Huang
353946d2bf Remove old example "lesson 10" 2017-09-08 15:36:53 -07:00
Jian Huang
bd9cd0b291 code changes based reviews:
1. use let than var, but after this change, example can't run on Safari anymore
2. new cameraInfo to capsulate several carema properties
3. fix tab/space issue
4. update luma.gl version to 4.0.0
2017-09-08 15:19:34 -07:00
Jian Huang
d280bc798c Remove some useless code. 2017-09-08 12:19:26 -07:00
Jian Huang
be38ed1dd7 lesson 10 for loading a game world 2017-09-08 11:43:44 -07:00
1chandu
62f0c6c354 Wire up ShaderCache in Model class to avoid re-compilaiton of same shaders. (#301)
Also update webpack.config files of examples, so npm run start-local works.
2017-08-31 19:37:16 -07:00
1chandu
34b206259a Picking shader module: Handle invalid/null picking color (#288)
* Handle invalid/null picking color
2017-08-03 16:41:36 -07:00
1chandu
807351309d Fix webpack config to make examples run standalone (#286)
Fix webpack config so examples can be bundled against source rather than installed module.
2017-07-28 14:30:17 -07:00
Shaojing Li
318362be9a Make example running standalone (#285)
* Make all examples working as standalone
* Change title
2017-07-26 20:04:55 -07:00
Xiaoji Chen
cd9f0c791d misc styling changes (#283) 2017-07-26 13:40:55 -07:00
Xiaoji Chen
e648d012ea Website styling (#280)
* website styling
* fix demo import
2017-07-25 21:42:57 -07:00
Shaojing Li
e030c5d71d Doc update (#275) 2017-07-24 13:28:07 -07:00
1chandu
46fb26cf00 Documentation fixes (#274)
- Documentation fixes
- Remove deprecated usage in examples.
2017-07-21 22:47:49 -07:00
Ib Green
ce3d45bcc9 API Audit - change 'settings' to 'parameters' (#264) 2017-07-11 09:05:53 -07:00
1chandu
66f29e8117 Changes to Picking module & fix Picking example (#256)
* Add separate functions for highlightColor, filterColor in Picking module.
* Fix Picking example
* Fix Model object creation in examples and update docs.
2017-07-07 19:50:48 -07:00
1chandu
b54b90d079 Fix picking color encoding. (#252) 2017-07-05 20:32:40 -07:00
Ib Green
9fc076756b v4.0.0-beta.1 release (#249)
* Initial round of Matrix fixes
* Update CHANGELOG
2017-07-05 09:00:46 -07:00
Ib Green
3a75414941 Framework links (#248) 2017-07-03 18:51:31 -07:00
Ib Green
a3206b7dcd Use small gl-matrix modules (#246)
* Use small gl-matrix modules
2017-07-03 18:42:15 -07:00
Ib Green
cd3bdbd3d7 Restore Shadowmap example (#242) 2017-07-03 09:31:11 -07:00
Ib Green
693e4984b6 Shader module system examples (#241) 2017-06-30 14:13:23 -07:00
Ib Green
82e7fba396 Remove unused CSS and JS from examples (#231) 2017-06-26 18:17:09 -07:00
Ib Green
3c85ec5d52 Move non-working examples to wip (#228) 2017-06-26 17:30:29 -07:00
1chandu
c76b2e8eb2 Add NPOT workaround for texture2d object. (#225)
* Add NPOT workaround for texture2d object.

* Fix crashes in examples (pass in gl context when creating Models)
2017-06-26 17:18:53 -07:00
Ib Green
6a2284eb53 Parameter handling polish (#215)
* Add parameter logging and various fixes

* Polish deprecation warnings

* wip

* Fix linter errors
2017-06-19 20:46:51 -07:00
Ib Green
5b1594aebc Shader module no longer experimental (#216) 2017-06-19 19:01:25 -07:00
1chandu
afe09439e6 Fix 'blendFunc' setter, update examples to use setParameters (#213)
* Fix setting 'blendFunc' parameters
* , update examples to use setParameters.

* Address comments

* Address more comments
2017-06-16 08:48:24 -07:00
1chandu
7de99f8d6f Re-write lesson 16. (#209)
* Re-write lesson 16.
2017-06-13 14:02:47 -07:00
Ib Green
94b668ec25 Reorganize state(parameter) code (#206)
* Reorganize state(parameter) code

* State caching. Separate WebGL helpers
2017-06-10 14:22:03 -07:00