Commit Graph

385 Commits

Author SHA1 Message Date
James Harrison d2af168196 Merge branch 'master' of github.com:bs-community/skinview3d 2020-09-16 10:33:22 +01:00
James Harrison 4e91613099 Merged with master 2020-09-16 10:29:23 +01:00
James Harrison dfa779f6b8 Added Elytra and Ears to animations 2020-09-14 22:29:28 +01:00
Haowei Wen f75ffb0e4c
2.0.0-alpha.10 2020-09-13 02:03:29 +08:00
Haowei Wen ee80896de9
update dependencies (skinview-utils=>0.5.8, three=>0.120.1) 2020-09-13 02:02:25 +08:00
Haowei Wen ee9a27b34e
examples: fix validation errors 2020-09-12 17:51:18 +08:00
Haowei Wen 5931532f9b
examples: use static layers_table
so its contents are preserved after refresh
2020-09-12 17:32:50 +08:00
Haowei Wen ae48acfff7
change default rotation angle of cape to 10.8 deg 2020-09-12 17:20:54 +08:00
Haowei Wen c68492ffa7
2.0.0-alpha.9 2020-09-11 22:47:37 +08:00
Haowei Wen dac2e23d61
Merge pull request #75 from james090500/cape-texture-fix
Swap textures
2020-09-11 22:46:08 +08:00
James Harrison 03c1b75a7c Added toggle Elytra 2020-09-11 00:11:31 +01:00
James Harrison 3e0a24841b Update latest from upstream 2020-09-10 23:59:12 +01:00
James Harrison ffb99bd998 Swap textures 2020-09-10 23:52:46 +01:00
James Harrison 65c6da2d62 Added animated cape 2020-09-10 22:23:56 +01:00
James Harrison 1e23944ce4 Merge remote-tracking branch 'upstream/master' 2020-09-10 22:23:43 +01:00
James Harrison 8eb2caae63 Pre-merge 2020-09-10 22:20:04 +01:00
James Harrison 150dbbd61c Fixed null not removing capes
Removed pointless logging
2020-09-10 22:17:54 +01:00
Haowei Wen 9d4915cb57
gh-pages: fix build 2020-09-10 01:43:49 +08:00
Haowei Wen 80bb7a049c
examples: add example 'offscreen-render' 2020-09-10 01:39:19 +08:00
Haowei Wen da09d950aa
add 'renderPaused' option to SkinViewerOptions 2020-09-10 00:23:32 +08:00
Haowei Wen 3aa66bfae0
Merge pull request #74 from bs-community/manual-preserveDrawingBuffer
add 'preserveDrawingBuffer' option
2020-09-09 20:26:41 +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 19325b99b5
Merge pull request #73 from bs-community/yushijinhun/custom-canvas
remove 'domElement' property & add 'canvas' property
2020-09-08 06:12:51 +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 038285e1d5
examples: rename cape.png -> legacy_cape.png 2020-08-31 08:01:21 +08:00
Haowei Wen 8b7ae5d752
examples: rename Hacksore.png -> hacksore.png
lowercase is preferred
2020-08-31 07:58:11 +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 1fa5784852
update three->r120 & three-minifier->v0.2.0-alpha.2
bundle size reduced ~40kb
2020-08-27 23:27:14 +08:00
Haowei Wen 03c9772d9a
example: add user-scalable=no 2020-08-24 04:38:54 +08:00
Haowei Wen 4677c5e053
example: responsive layout 2020-08-24 04:32:43 +08:00
Haowei Wen c21be7bcb5
example: add fps panel 2020-08-24 02:26:33 +08:00
Haowei Wen 557f21e9c7
2.0.0-alpha.8 2020-08-24 01:40:14 +08:00
Haowei Wen b13aa89be4
support FXAA, close #71 2020-08-24 01:16:37 +08:00
Haowei Wen d293b5dc6a
do not run devmodules in dev script
we only use bundles in demo, it's unnecessary to compile modules
2020-08-24 00:45:00 +08:00
Haowei Wen 7fe4db7de5
make skinCanvas & capeCanvas public 2020-08-23 23:35:36 +08:00
Haowei Wen a13daf4d9c
examples: use lightblue background 2020-08-23 23:29:40 +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 7a82f90967
2.0.0-alpha.7 2020-08-19 00:55:58 +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 27605488eb
update devDependencies 2020-08-18 16:57:35 +08:00
yushijinhun dbd3ea7dcc
fix #66 2020-08-18 15:37:02 +08:00
yushijinhun a1c4a2b576
Merge pull request #69 from bs-community/new-demo
new demo page & auto deploy to GitHub Pages
2020-08-18 12:58:46 +08:00
yushijinhun 380fc3b06e
upgrade skinview-utils to 0.5.7
fixes #63
2020-08-18 11:43:00 +08:00
yushijinhun 78e236b18c
deploy to gh-pages 2020-08-17 22:17:21 +08:00