Commit Graph

56 Commits

Author SHA1 Message Date
James Harrison 6b752c423a Merge branch 'master' of https://github.com/bs-community/skinview3d 2020-11-19 17:52:27 +00:00
Haowei Wen cc90328881
fix z-fighting between body and arms when flying 2020-10-10 19:26:25 +08:00
Haowei Wen 61aa9753af
Add PlayerObject.backEquipment property 2020-10-10 10:26:58 +08:00
yushijinhun 61572b6824
Add elytra model 2020-10-10 09:05:59 +08:00
Haowei Wen 52e809138d
remove renderOrder 2020-10-10 09:05:21 +08:00
Haowei Wen e7c9399875
refactor setUVs 2020-10-09 22:24:02 +08:00
Haowei Wen 400eecb9e9
refactor uvs 2020-10-09 16:45:08 +08:00
Haowei Wen d3f3cb422c
use inside of cape as its front face 2020-10-09 16:12:13 +08:00
Haowei Wen bd9bc29684
fix pivot of arms & legs 2020-10-04 00:43:21 +08:00
Haowei Wen a579f7bf26
move player up by 4m
so we have the same pivot as it's in real Minecraft
2020-10-03 22:59:59 +08:00
Haowei Wen eff80c1f02
fix skin layer2 has wrong size 2020-10-03 20:42:22 +08:00
James Harrison ae8a66f525 🦉Changed elytra rotation 2020-09-17 14:55:05 +01:00
James Harrison 79756c449d 🚅 Stops pointless cape to canvas if not animated 2020-09-17 08:33:46 +01:00
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
Haowei Wen ae48acfff7
change default rotation angle of cape to 10.8 deg 2020-09-12 17:20:54 +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 1e23944ce4 Merge remote-tracking branch 'upstream/master' 2020-09-10 22:23:43 +01: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
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
James Harrison a3155138d0 Merge branch 'master' of github.com:bs-community/skinview3d
Added Animated Capes
2020-07-12 20:46:50 +01:00
James Harrison a6b6fd41e7 Removed commented code 2020-07-12 17:52:08 +01:00
James Harrison 4e33ff1fa4 Implemented Elytra functionality 2020-06-08 21:32:54 +01: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
James Harrison 1c8955d1cd Moved camera a bit for ears 2020-04-26 00:19:59 +01:00
James Harrison 940f0a7083 Added ears 2020-04-26 00:00:10 +01:00
yushijinhun 8a474cbc8c
Add explicit function return types 2020-02-01 19:13:46 +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 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 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 298cce4554
Drop namespace THREE, use submodules
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 01:43:12 +08:00
yushijinhun 4b93760f1b
Fix style 2019-05-02 16:33:13 +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 96286ee9ea
Remove some comments 2018-08-17 11:55:46 +08:00
yushijinhun 204420dab9
Move modelListeners initialization to field declaration 2018-08-16 19:23:49 +08:00