support slim model
This commit is contained in:
parent
02840ec6a4
commit
5d55407b46
|
|
@ -6,6 +6,7 @@ The code was originally created by [Kent Rasmussen](https://github.com/earthiver
|
||||||
# Features
|
# Features
|
||||||
* 1.8 Skins
|
* 1.8 Skins
|
||||||
* Capes
|
* Capes
|
||||||
|
* Slim arms
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
* [Three.js](https://github.com/mrdoob/three.js/)
|
* [Three.js](https://github.com/mrdoob/three.js/)
|
||||||
|
|
@ -21,13 +22,11 @@ JS
|
||||||
```js
|
```js
|
||||||
$(() => {
|
$(() => {
|
||||||
$("#skin_container").skinPreview3D({
|
$("#skin_container").skinPreview3D({
|
||||||
skinUrl: 'img/Dinnerbone.png',
|
skinUrl: 'img/hatsune_miku.png',
|
||||||
capeUrl: 'img/cape.png',
|
capeUrl: 'img/cape.png',
|
||||||
|
slim: true,
|
||||||
width: 600,
|
width: 600,
|
||||||
height: 600
|
height: 600
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
# TODOs
|
|
||||||
* Alex support (Slim arms).
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>SkinPreview3D</title>
|
<title>skinpreview3d.js</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
@ -14,8 +14,9 @@
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#skin_container").skinPreview3D({
|
$("#skin_container").skinPreview3D({
|
||||||
skinUrl: 'img/Dinnerbone.png',
|
skinUrl: 'img/hatsune_miku.png',
|
||||||
capeUrl: 'img/cape.png',
|
capeUrl: 'img/cape.png',
|
||||||
|
slim: true,
|
||||||
width: 600,
|
width: 600,
|
||||||
height: 600
|
height: 600
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.7 KiB |
BIN
img/Hacksore.png
BIN
img/Hacksore.png
Binary file not shown.
|
Before Width: | Height: | Size: 689 B |
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue