Commit Graph

89 Commits

Author SHA1 Message Date
ChiaNing 9da70cce0b math function add (#5076)
* math function add

* rebase
2019-08-05 09:44:25 +08:00
Yun Hsiao Wu 75b27045ee refine details (#5053)
* joints texture free interface

* better socket interaction
2019-08-01 17:39:04 +08:00
Yun Hsiao Wu 43a27ee1e1 cache joints textures (#5028) 2019-07-31 15:19:25 +08:00
Yun Hsiao Wu a3992a3257 fix texture pool (#5027) 2019-07-31 14:41:13 +08:00
Yun Hsiao Wu 8e74ddc06e one vec4 to rig them all (#5021)
* minor

* one vec4 to rig them all
2019-07-30 19:33:34 +08:00
Weiliang Wang 4a4f8db385 fix ubo aligned (#5010)
* modified some interfaces

* fix conflicts

* fix ubo aligned
2019-07-30 14:36:06 +08:00
Yun Hsiao Wu a81e7269d2 fix GL2 buffer update (#5007) 2019-07-30 13:43:22 +08:00
Yun Hsiao Wu 9711e049ba skeletal socket system (#5004)
* skeletal socket system

* fix
2019-07-29 19:45:24 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
Yun Hsiao Wu 1fd6c04970 batched joints texture (#4988)
* joints texture pool

* batched joints texture
2019-07-26 13:55:20 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
Yun Hsiao Wu faef51b893 fix skinning batch (#4970) 2019-07-24 17:11:44 +08:00
Weiliang Wang 72b1155a02 optimize samplerLib.getSampler() (#4930)
* optimize samplerLib.getSampler()

* fix sampler state value
2019-07-21 01:21:01 +08:00
Yun Hsiao Wu 56192c6267 unified default joints texture (#4922) 2019-07-20 11:05:35 +08:00
Yun Hsiao Wu 68d6ee70fd fix batched skinning model (#4912) 2019-07-18 17:53:59 +08:00
Yun Hsiao Wu 02bdf2f79b simplified approach for rigging data (#4903) 2019-07-18 09:24:03 +08:00
Yun Hsiao Wu 29e93e55fe rigging non-skinning renderables (#4901) 2019-07-17 17:35:21 +08:00
Yun Hsiao Wu 24fc221fee skeletal bounds (#4891) 2019-07-17 11:28:52 +08:00
Yun Hsiao Wu 6aab2566b4 GPU animation clip (#4890) 2019-07-17 10:19:09 +08:00
Yun Hsiao Wu f03df0bb39 skeletal animation clip (#4882) 2019-07-16 10:36:13 +08:00
Weiliang Wang 7e006083a8 typo code (#4881) 2019-07-16 09:39:06 +08:00
Yun Hsiao Wu 6cfe28a8d0 disable uniform mode for now (#4863) 2019-07-11 13:32:51 +08:00
zxg0622 86b4b87e6c change mesh mode particle uv calc (#4843) 2019-07-09 15:23:18 +08:00
zxg0622 2449dbcbfa fix particle rateoverdistance bug & some tslint errors (#4783) 2019-07-02 11:16:27 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
Yun Hsiao Wu 257f966bd3 fix pass & GL constants Changelog: * (#4762)
* fix material props when using pass switches

* don't rely on WebGLRenderingContext static constants

* skybox precision
2019-07-01 09:31:37 +08:00
Leslie Leigh b5623dee6a add reset() to Mesh and Texture (#4745)
* add reset() to Mesh and Texture

* use tag deprecated

* typo
2019-06-28 16:17:00 +08:00
Yun Hsiao Wu f6d6aab06b bindpose as mat4 (#4738) 2019-06-27 18:35:01 +08:00
Yun Hsiao Wu c207888d01 minor (#4646) 2019-06-18 16:51:46 +08:00
Yun Hsiao Wu dc45d5e0ce update joints after culling (#4641)
* fix vmath return type

* more docs

* update joints after culling
2019-06-17 17:33:01 +08:00
Yun Hsiao Wu ab20e4fe2b vmath docs (#4620)
* mat4 vec4

* minor

* vec3, mat3, quat

* color4, vec2
2019-06-14 11:25:48 +08:00
Yun Hsiao Wu 182a29a869 skinning mesh bounds (#4591)
* skinning mesh bounds

* scene-utils docs

* fix batching
2019-06-12 17:06:13 +08:00
Yun Hsiao Wu b2dd74520b fix skinning model update policy (#4566)
* full material doc

* fix skinning model update policy

* audio doc
2019-06-06 16:43:52 +08:00
Yun Hsiao Wu 03a5d28c8c fix DQS pipe (#4543) 2019-06-02 20:06:49 +08:00
Yun Hsiao Wu 7103999d68 handle different skinning roots (#4525)
* better opt

* handle different skinning roots
2019-05-30 17:36:13 +08:00
Yun Hsiao Wu 73dc88266d DQ skinning (#4504) 2019-05-26 23:37:30 +08:00
zxg0622 619c8def4c add line render (#4493)
* add line render

* fix canvas not destroyed when switching scene
2019-05-24 10:18:41 +08:00
Yun Hsiao Wu e68c255736 fix avatar model component (#4469) 2019-05-21 23:58:32 +08:00
zxg0622 d6d2a6c107 fix particle cap bug (#4430) 2019-05-16 14:46:41 +08:00
pandamicro 449f0f9425 Improve EventTarget to avoid duplicated implementation (#4415)
* Fix  clip type property issue

* Fix small issues

* Improve EventTarget to avoid duplicated implementation

* Fix merge issues
2019-05-15 10:35:58 +08:00
Yun Hsiao Wu 566cbd51cc animation data pipeline refactor: phase 1 (#4413)
* model space joint update

* bindpose in TRS
2019-05-14 11:19:04 +08:00
Yun Hsiao Wu 5a290fbc6d get rid of all the encodings (#4355) 2019-04-30 14:59:21 +08:00
Leslie Leigh acf891da2f support vtf on webgl2 (#4338)
* support vtf on webgl2

* effect

* fix bug
2019-04-29 15:35:23 +08:00
zxg0622 e9552af84b fix particle trail error (#4337)
* fix particle trail error

* fix stretch billboard error
2019-04-29 15:34:50 +08:00
Leslie Leigh ce456e3d37 opt encode32 (#4313) 2019-04-26 14:18:56 +08:00
zxg0622 ade6977d08 add partile mesh render mode (#4306) 2019-04-25 18:28:17 +08:00
Leslie Leigh 04c47d047b force use uniform for skinning (#4305) 2019-04-25 18:27:30 +08:00
jiaxin.lai e08ac60ec2 Extract enum to avoid circular reference (#4298) 2019-04-25 14:43:06 +08:00
jerrywwl 2f7f6eb143 update files 2019-04-25 14:43:06 +08:00
Leslie Leigh 7d26b67071 put mat4 mul onto gpu, (#4289)
* put mat4 mul onto gpu,

* update effects

* separate ubo when use joint texture
2019-04-24 15:57:38 +08:00