Haowei Wen
ae48acfff7
change default rotation angle of cape to 10.8 deg
2020-09-12 17:20:54 +08:00
James Harrison
ffb99bd998
Swap textures
2020-09-10 23:52:46 +01:00
Haowei Wen
da09d950aa
add 'renderPaused' option to SkinViewerOptions
2020-09-10 00:23:32 +08:00
Haowei Wen
0b9cccfa68
add 'preserveDrawingBuffer' option
...
The default value of 'preserveDrawingBuffer' is changed back to false
due to performance concern. To turn it on, you have to specify
'preserveDrawingBuffer: true' in SkinViewerOptions.
Related: #65 , #67
2020-09-09 14:06:53 +08:00
Haowei Wen
5e89411f87
add docs
2020-09-09 13:50:09 +08:00
Haowei Wen
a92b28d0e9
remove 'domElement' property & add 'canvas' property
2020-09-06 18:27:18 +08:00
Haowei Wen
e7a9267b9c
change phase offset of running animation to +pi/2
2020-09-06 17:25:49 +08:00
Haowei Wen
a41f7f3a96
fix inner layer z-fighting
2020-09-05 12:09:03 +08:00
Haowei Wen
968966313e
refactor: omit default parameters
2020-08-31 07:56:13 +08:00
Haowei Wen
48cb88e99c
fix z-fighting again
2020-08-31 07:38:19 +08:00
Haowei Wen
883cdba9f3
fix z-fighting in some browsers
2020-08-31 06:33:15 +08:00
Haowei Wen
b13aa89be4
support FXAA, close #71
2020-08-24 01:16:37 +08:00
Haowei Wen
7fe4db7de5
make skinCanvas & capeCanvas public
2020-08-23 23:35:36 +08:00
Haowei Wen
8fbe59b155
add option SkinViewerOptions.alpha (true by default)
2020-08-23 22:55:49 +08:00
Haowei Wen
d13eec6035
set pixel ratio to DPR
2020-08-23 19:58:48 +08:00
yushijinhun
3b7b9499cb
update three.js to v0.119.1
...
previous commit broken with three.js v0.119.1 due to fc07f25be539af4888a7cfea790860eff18dc0b2
2020-08-18 17:21:22 +08:00
yushijinhun
dbd3ea7dcc
fix #66
2020-08-18 15:37:02 +08:00
Sean Boult
538a175b5e
Add preserveDrawingBuffer to WebGLRenderer
2020-08-13 12:59:36 +00:00
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