2.0.6 • Published 12 months ago

anqila-webgl-star v2.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

npm.io

介绍

本项目基于takahiroxhttps://github.com/takahirox 的 mmd-viewer-jshttps://github.com/takahirox/mmd-viewer-js项目实现. 事实上我的主要工作是组合几个库,像地面镜像Mirror.js、天空SkyShader.js到他的mmd项目,这部分代码在main.js中。 并且修改了前端页面,使其看起来像一个播放器,在control.js中实现了对播放器的控制。 这是我当时学习threejs,尝试做的demo,后来这个播放器应用在我的网站niuini.com上。 仅供参考。

修改载入文件

在index.html的454行~457行指定了载入文件的地址。 你可以改成其他的url,注意是要url。 你不可以直接填像f://xx/xx.pmx这种路径,正确的做法是搭建一个小型web服务器,再把文件相对于网站根目录的路径填上。 更多服务搭建,请参考apache或者nginx官方文档。

部分项目文件资源

胡桃 白露 黑塔 洛天依 其他动作,声音 作者: @author zigjiang anqila

相关链接

https://github.com/takahirox/mmd-viewer-js http://www.niuini.com

联系

zigjiang@gmail.com

Introduction

This project is based on the takahiroxhttps://github.com/takahirox mmd-viewer-jshttps://github.com/takahirox/mmd-viewer-js project. In fact, my main job is to combine several libraries, such as ground mirroring Mirror.js and sky SkyShader.js to his mmd project. This part of the code is in main.js. And modified the front page to make it look like a player, and implemented the control of the player in control.js. This is a demo I tried to learn threejs at the time, and later this player was applied on my website niuini.com. for reference only.

Modify loaded files

In the index.html line 454 ~ 457 line specifies the address of the load file, you can change it to other URLs, note that the URL is required. you can not fill it directly like Path, the correct way is to set up a small web server, and fill in the path of the file relative to the root directory of the website. For more service build, please refer to the official documentation of apache or nginx.

Links

https://github.com/takahirox/mmd-viewer-js http://www.niuini.com

Contact

zigjiang@gmail.com

2.0.6

12 months ago

2.0.5

12 months ago

2.0.4

12 months ago

2.0.3

12 months ago

2.0.2

12 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.0

12 months ago