Skip to content

Commit

Permalink
Merge pull request #18 from muonlineph/model-updates
Browse files Browse the repository at this point in the history
update 3d models
  • Loading branch information
weaponsforge authored Feb 23, 2022
2 parents df81fc6 + 58026d4 commit f18e0d8
Show file tree
Hide file tree
Showing 10 changed files with 20,533 additions and 14,370 deletions.
16 changes: 12 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@
scale: { x: 128, y: 128, z: 128 }
}),
loadModel('objects/mistsplitter/', 'mistsplitter.mtl', 'mistsplitter.obj', {
scale: { x: 2, y: 2, z: 2 }
scale: { x: 14, y: 14, z: 14 }
}),
loadModel('objects/raidensword/', 'raidensword.mtl', 'raidensword.obj', {
scale: { x: 8, y: 8, z: 8 }
scale: { x: 14, y: 14, z: 14 }
}),
loadModel('objects/narukami/', 'narukami.mtl', 'narukami.obj', {
scale: { x: 14, y: 14, z: 14 }
})
]).then(response => {
weapons.staff = response[0]
Expand All @@ -113,6 +116,7 @@
weapons.wgs = response[5]
weapons.mist = response[6]
weapons.rsword = response[7]
weapons.narukami = response[8]
document.querySelector('.spinner').style.display = 'none'
})

Expand All @@ -127,10 +131,13 @@
attribution.gb = '"Gunblade from FFVIII" (https://skfb.ly/6YZp8) by nikexz is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).'
break
case 'mist':
attribution.mist = 'by Ilham45 on renderhub https://www.renderhub.com/ilham45/mistsplitter-reforged-sword-genshin-impact'
attribution.mist = '"10 Genshin Impact Inspired Sword 3D Models" (https://skfb.ly/o8qCJ) by Anime 3D is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).'
break
case 'rsword':
attribution.rsword = '"Raiden Shogun" (https://skfb.ly/o7yF6) by hucancode is licensed under Creative Commons Attribution-NonCommercial (http://creativecommons.org/licenses/by-nc/4.0/).'
attribution.rsword = '"10 Genshin Impact Inspired Sword 3D Models" (https://skfb.ly/o8qCJ) by Anime 3D is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).'
break
case 'narukami':
attribution.narukami = '"10 Genshin Impact Inspired Sword 3D Models" (https://skfb.ly/o8qCJ) by Anime 3D is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).'
break
default:
attribution[item] = 'Converted to .obj from mu online client .bmd weapon file'
Expand Down Expand Up @@ -164,6 +171,7 @@ <h1>Weapons</h1>
<input type="radio" id="wgs" name="weapon" value="wgs" onclick="change('wgs')"/> Wolf's Gravestone
<input type="radio" id="mist" name="weapon" value="mist" onclick="change('mist')"/> Mistsplitter Reforged
<input type="radio" id="rsword" name="weapon" value="rsword" onclick="change('rsword')"/> Raiden's Sword
<input type="radio" id="narukami" name="weapon" value="narukami" onclick="change('narukami')"/> Narukami Sword

<!-- Attribution/credits -->
<div id="attribution"></div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions public/objects/mistsplitter/mistsplitter.mtl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# mistsplitter.mtl
#

newmtl sword
newmtl Mistsplitter_Reforged
illum 2
Kd 0.447100 0.549000 0.705900
Ka 0.447100 0.549000 0.705900
Ks 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ns 1.500000
map_Kd sword.PNG
Ns 1.450000
map_Kd Mistsplitter_Reforged_baseColor.png
Loading

0 comments on commit f18e0d8

Please sign in to comment.