Commit Graph

441 Commits

Author SHA1 Message Date
yushijinhun ed22ce6953
Fix #48 2020-03-26 16:57:35 +08:00
Sean Boult 01ff365fd6 Update stories 2020-03-13 23:40:36 -05:00
Sean Boult 8e0f9959b1 Add storybook 2020-03-13 21:52:20 -05:00
Pig Fang 26c3f3d382
update GitHub Actions 2020-02-29 16:57:48 +08:00
yushijinhun 42278ee509
Make SkinViewer.disposed readonly 2020-02-01 20:44:10 +08:00
yushijinhun 872f012e42
polish 2020-02-01 20:43:02 +08:00
yushijinhun 8a474cbc8c
Add explicit function return types 2020-02-01 19:13:46 +08:00
Haowei Wen 9baa4d9989
Merge pull request #47 from bs-community/bundled
Bundle THREE.js in UMD build
2020-01-31 22:15:45 +08:00
yushijinhun 80d96a0ac9
update example 2020-01-31 08:50:30 +08:00
yushijinhun 23b856362f
remove OrbitControls 2020-01-31 08:46:43 +08:00
yushijinhun 743adb97b8
use three-minifier
599K -> 381K
2020-01-31 08:43:46 +08:00
yushijinhun 92abd67c8a
Remove dist/ & add bundles/ 2020-01-31 08:39:58 +08:00
yushijinhun 776c96a300
Rename jsm -> libs 2020-01-31 08:34:55 +08:00
yushijinhun f84f88251e
Extract doRender() so that subclasses can customize rendering 2020-01-31 01:39:36 +08:00
yushijinhun 1bcd8b50b1
Remove SkinViewerOptions.animation 2020-01-31 01:39:36 +08:00
yushijinhun 6c7ac2a8d2
Call setSize in constructor 2020-01-31 01:39:23 +08:00
yushijinhun d72b310772
Remove 'antialias: false' since it's disabled by default 2020-01-31 01:32:33 +08:00
yushijinhun e730edfaab
Fix z-fighting using polygonOffset
this commit fixes z-fighting between body2 and rightLeg2/leftLeg2
also removes esp

reference: https://sites.google.com/site/threejstuts/home/polygon_offset
2020-01-30 23:07:48 +08:00
yushijinhun 0cddbd51a8
Update examples 2020-01-27 19:03:42 +08:00
yushijinhun 0afb1151ec
2.0.0-alpha.1 2020-01-27 18:59:51 +08:00
Haowei Wen f485a3a026
Merge pull request #46 from bs-community/separate-esm
Include separate modules in build output
2020-01-26 22:10:33 +08:00
yushijinhun 5363e92822
Add .js extension to imports 2020-01-24 19:34:50 +08:00
yushijinhun 58364c82d2
Re-add UMD build 2020-01-24 01:28:24 +08:00
yushijinhun bc77816e67
Change target to es2015 2020-01-23 23:56:48 +08:00
yushijinhun 40f55a224c
Remove UMD build 2020-01-23 23:51:16 +08:00
yushijinhun 5badb4fcea
Include separate modules in build output
https://github.com/bs-community/skinview3d/pull/45#issuecomment-575554703
2020-01-23 02:59:08 +08:00
yushijinhun c2bd1aa0ce
fix warnings 2020-01-23 02:53:06 +08:00
yushijinhun ff24bcec58
Migrate to eslint 2020-01-23 02:15:02 +08:00
yushijinhun 92b8334e8e
run npm build on github ci 2020-01-23 02:00:11 +08:00
yushijinhun d65f8a2392
update dependencies 2020-01-23 01:57:41 +08:00
yushijinhun 7cb311c76d
remove commented code 2020-01-23 00:20:22 +08:00
yushijinhun 5fd72eefcf
use export * 2020-01-23 00:19:47 +08:00
yushijinhun 3af33ecda5
PlayerObject is visible by default when created 2020-01-22 16:04:20 +08:00
yushijinhun 4fa49974b0
PlayerObject constructor now takes Texture 2020-01-22 16:04:14 +08:00
Haowei Wen 5e16943ad2
Merge pull request #45 from bs-community/split-utils
Split utils.ts into a separate package
2020-01-19 18:21:30 +08:00
yushijinhun aa027ac12b
update skinview-utils to v0.2.0 2020-01-17 19:04:59 +08:00
yushijinhun f4565bc99b
Remove tests, they are going to skinview-utils 2020-01-16 20:25:20 +08:00
yushijinhun 0721ac3e76
use @yushijinhun/skinview-utils 2020-01-11 21:26:58 +08:00
yushijinhun 75f6d7bf65
Update badges 2020-01-07 14:15:01 +08:00
yushijinhun add0c04c73
Refactor rollup.config.js
Co-authored-by: Shirasawa <764798966@qq.com>
Cherry-pick: 6a48fc9840dcac9d1740ffbe982ee4a4d5b8fd83
2020-01-01 17:19:34 +08:00
yushijinhun f969e7dbe0
Drop namespace THREE
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 17:18:06 +08:00
yushijinhun 2f304996ae
Revert "Merge remote-tracking branch 'ShirasawaSama/master'"
This reverts commit 9f6017d14c, reversing
changes made to db1884e782.

This reverts #41.
2020-01-01 16:46:54 +08:00
yushijinhun acda22d0e4
Merge branch 'v1.2.x' 2020-01-01 16:03:27 +08:00
yushijinhun 7d742b93e9
1.2.1 2020-01-01 16:00:44 +08:00
yushijinhun a282c7fd2d
Update three.js & Remove @types/three 2020-01-01 15:59:27 +08:00
yushijinhun cb1f00dd17
Remove access to renderer context 2020-01-01 15:55:17 +08:00
yushijinhun 9f6017d14c
Merge remote-tracking branch 'ShirasawaSama/master' 2020-01-01 13:30:05 +08:00
yushijinhun fe0ab2a74a
Use .all.js in example
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 01:53:19 +08:00
yushijinhun 5a7a1b7055
New distribution type: .all.js
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 01:47:48 +08:00
yushijinhun 298cce4554
Drop namespace THREE, use submodules
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 01:43:12 +08:00