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
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
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
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
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
5363e92822
Add .js extension to imports
2020-01-24 19:34:50 +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
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
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
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
6477c7c707
Add SkinViewerOptions
2018-08-17 12:05:17 +08:00
yushijinhun
0545117c51
Fix options.detectModel not working
2018-08-16 19:35:16 +08:00
yushijinhun
11d0b93723
Move 'export' to where the variable is defined
2018-08-16 19:07:46 +08:00
Sean Boult
16d0e8f8ea
Fix many linting issues
2018-07-21 07:52:02 -05:00
Sean Boult
b2932c96bb
Working transpiling via "npm run buildtest" command
...
There is an issue witht the slim detection causing standard arms to load incorrectly, likely something caused by moving object properties around
2018-07-20 22:07:52 -05:00
Sean Boult
a48f935f06
First pass at conversion to Typescript
2018-07-17 13:49:00 -05:00