Commit Graph

103 Commits

Author SHA1 Message Date
yushijinhun 68ee9181b7
bump skinview-utils to 0.5.3 2020-06-17 11:10:30 +08:00
Pig Fang 943d1d3c5a refactor constructor 2020-06-17 09:08:51 +08:00
yushijinhun d86dda16bc
bump skinview-utils to 0.5.1 2020-06-14 15:45:36 +08:00
yushijinhun 5b101d93af
code cleanup 2020-05-29 16:34:58 +08:00
yushijinhun e15ed531f1
Refactor SkinViewer 2020-05-29 15:45:09 +08:00
yushijinhun 39af9967d7
Fix #55 2020-05-24 12:05:53 +08:00
yushijinhun ed22ce6953
Fix #48 2020-03-26 16:57:35 +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
yushijinhun 23b856362f
remove OrbitControls 2020-01-31 08:46:43 +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 5363e92822
Add .js extension to imports 2020-01-24 19:34:50 +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 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
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 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 cb1f00dd17
Remove access to renderer context 2020-01-01 15:55:17 +08:00
yushijinhun 298cce4554
Drop namespace THREE, use submodules
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 01:43:12 +08:00
yushijinhun db1884e782
Merge branch 'animation-refactor' 2020-01-01 00:34:00 +08:00
yushijinhun f9d7a9185c
add missing type definition 2019-12-28 21:14:45 +08:00
yushijinhun b5593d1943
Add renderPaused property, closing #42 2019-12-27 19:04:32 +08:00
Pig Fang 1121ee4c09 upgrade dependencies 2019-12-26 10:57:27 +08:00
Pig Fang 4bfe27cecc
`==` -> `===` 2019-12-23 18:15:04 +08:00
yushijinhun 3123646db7
Add exports 2019-12-22 20:42:04 +08:00
yushijinhun 127d2ee7a3
Full refactor of animation control 2019-12-22 20:19:33 +08:00
yushijinhun 9f7b94a1a2
Fix lint error 2019-12-22 18:34:30 +08:00
yushijinhun 4b93760f1b
Fix style 2019-05-02 16:33:13 +08:00
yushijinhun 0103e81b8e
Replace AnimationHandle.pause with speed 2019-04-21 00:07:20 +08:00
yushijinhun 5992d3e68d
Replace animationPaused with animationSpeed 2019-04-20 23:54:04 +08:00
yushijinhun 0c8a8b627a
Add names to objects 2019-04-20 22:08:49 +08:00
yushijinhun 82711d9de1
Simplify constructor of BodyPart 2018-10-20 22:28:58 +08:00
yushijinhun 2b5f664f9e
Change write-only properties to methods 2018-10-20 22:11:43 +08:00
yushijinhun a495e0f629
Fix syntax 2018-10-20 15:40:52 +08:00
yushijinhun 97d892d10b
Allow visibilities of skin layers to be set separately, implement #32 2018-10-20 15:32:56 +08:00
yushijinhun b1125175be
Make model properties readonly 2018-08-17 12:56:13 +08:00
yushijinhun c067541cc6
Turn AnimationHandle into an interface 2018-08-17 12:50:38 +08:00
yushijinhun e78138b856
Support IAnimation in invokeAnimation 2018-08-17 12:15:02 +08:00