Skip to content

Commit f593bda

Browse files
Merge pull request #1 from Live2D/develop
Cubism 4 SDK for Java R1 alpha1
2 parents e10d94e + 41c5e9a commit f593bda

File tree

91 files changed

+17585
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+17585
-1
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.java]
12+
indent_size = 4
13+
14+
[*.gradle]
15+
indent_size = 4
16+
17+
[*.json]
18+
indent_size = 4

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
# Log file
2+
*.log
3+
4+
# BlueJ files
5+
*.ctxt
6+
7+
# Mobile Tools for Java (J2ME)
8+
.mtj.tmp/
9+
10+
# Package Files #
11+
*.jar
12+
*.war
13+
*.nar
14+
*.ear
15+
*.zip
16+
*.tar.gz
17+
*.rar
18+
19+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
20+
hs_err_pid*
21+
22+
.gradle
23+
**/build/
24+
!src/**/build/
25+
26+
# Ignore Gradle GUI config
27+
gradle-app.setting
28+
29+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
30+
!gradle-wrapper.jar
31+
32+
# Cache of project
33+
.gradletasknamecache
34+
35+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
36+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
37+
38+
# User-specific stuff
39+
.idea/**/workspace.xml
40+
.idea/**/tasks.xml
41+
.idea/**/usage.statistics.xml
42+
.idea/**/dictionaries
43+
.idea/**/shelf
44+
45+
# AWS User-specific
46+
.idea/**/aws.xml
47+
48+
# Generated files
49+
.idea/**/contentModel.xml
50+
51+
# Sensitive or high-churn files
52+
.idea/**/dataSources/
53+
.idea/**/dataSources.ids
54+
.idea/**/dataSources.local.xml
55+
.idea/**/sqlDataSources.xml
56+
.idea/**/dynamic.xml
57+
.idea/**/uiDesigner.xml
58+
.idea/**/dbnavigator.xml
59+
60+
# Gradle
61+
.idea/**/gradle.xml
62+
.idea/**/libraries
63+
64+
# Gradle and Maven with auto-import
65+
# When using Gradle or Maven with auto-import, you should exclude module files,
66+
# since they will be recreated, and may cause churn. Uncomment if using
67+
# auto-import.
68+
# .idea/artifacts
69+
# .idea/compiler.xml
70+
# .idea/jarRepositories.xml
71+
# .idea/modules.xml
72+
# .idea/*.iml
73+
# .idea/modules
74+
# *.iml
75+
# *.ipr
76+
77+
# CMake
78+
cmake-build-*/
79+
80+
# Mongo Explorer plugin
81+
.idea/**/mongoSettings.xml
82+
83+
# File-based project format
84+
*.iws
85+
86+
# mpeltonen/sbt-idea plugin
87+
.idea_modules/
88+
89+
# JIRA plugin
90+
atlassian-ide-plugin.xml
91+
92+
# Cursive Clojure plugin
93+
.idea/replstate.xml
94+
95+
# Crashlytics plugin (for Android Studio and IntelliJ)
96+
com_crashlytics_export_strings.xml
97+
crashlytics.properties
98+
crashlytics-build.properties
99+
fabric.properties
100+
101+
# Editor-based Rest Client
102+
.idea/httpRequests
103+
104+
105+
# Android studio 3.1+ serialized cache file
106+
#.idea/caches/build_file_checksums.ser
107+
108+
109+
# Built application files
110+
*.apk
111+
*.ap_
112+
*.aab
113+
114+
# Files for the ART/Dalvik VM
115+
*.dex
116+
117+
# Java class files
118+
*.class
119+
120+
# Generated files
121+
bin/
122+
gen/
123+
out/
124+
# Uncomment the following line in case you need and you don't have the release build type files in your app
125+
# release/
126+
127+
# Gradle files
128+
.gradle/
129+
build/
130+
131+
# Local configuration file (sdk path, etc)
132+
local.properties
133+
134+
# Proguard folder generated by Eclipse
135+
proguard/
136+
137+
# Android Studio Navigation editor temp files
138+
.navigation/
139+
140+
# Android Studio captures folder
141+
captures/
142+
143+
# IntelliJ
144+
*.iml
145+
.idea/
146+
.idea/misc.xml
147+
.idea/workspace.xml
148+
.idea/tasks.xml
149+
.idea/gradle.xml
150+
.idea/assetWizardSettings.xml
151+
.idea/dictionaries
152+
.idea/libraries
153+
.idea/jarRepositories.xml
154+
# Android Studio 3 in .gitignore file.
155+
.idea/caches
156+
.idea/modules.xml
157+
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
158+
.idea/navEditor.xml
159+
160+
# Keystore files
161+
# Uncomment the following lines if you do not want to check your keystore files in.
162+
#*.jks
163+
#*.keystore
164+
165+
# External native build folder generated in Android Studio 2.2 and later
166+
.externalNativeBuild
167+
.cxx/
168+
169+
# Google Services (e.g. APIs or Firebase)
170+
# google-services.json
171+
172+
# Freeline
173+
freeline.py
174+
freeline/
175+
freeline_project_description.json
176+
177+
# fastlane
178+
fastlane/report.xml
179+
fastlane/Preview.html
180+
fastlane/screenshots
181+
fastlane/test_output
182+
fastlane/readme.md
183+
184+
# Version control
185+
vcs.xml
186+
187+
# lint
188+
lint/intermediates/
189+
lint/generated/
190+
lint/outputs/
191+
lint/tmp/
192+
# lint/reports/
193+
194+
# Android Profiling
195+
*.hprof

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6+
7+
## [4-r.1-alpha.1] - 2022-10-06
8+
9+
### Added
10+
11+
* New released!

LICENSE.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## Definitions
2+
3+
### Live2D Cubism Components
4+
5+
Cubism Java Framework is included in Live2D Cubism Components.
6+
7+
Cubism Java Framework は Live2D Cubism Components に含まれます。
8+
9+
Cubism Java Framework 包括在 Live2D Cubism Components 中。
10+
11+
## Cubism SDK Release License
12+
13+
*All business* users must obtain a Cubism SDK Release License. "Business" means an entity with the annual gross revenue more than ten million (10,000,000) JPY for the most recent fiscal year.
14+
15+
* [Cubism SDK Release License](https://www.live2d.com/en/download/cubism-sdk/release-license/)
16+
17+
直近会計年度の売上高が 1000 万円以上の事業者様がご利用になる場合は、Cubism SDK リリースライセンス(出版許諾契約)に同意していただく必要がございます。
18+
19+
* [Cubism SDK リリースライセンス](https://www.live2d.com/ja/download/cubism-sdk/release-license/)
20+
21+
如果您的企业在最近一个会计年度的销售额达到或超过1000万日元,您必须得到Cubism SDK的出版授权许可(出版许可协议)。
22+
23+
* [Cubism SDK发行许可证](https://www.live2d.com/zh-CHS/download/cubism-sdk/release-license/)
24+
25+
## Live2D Open Software License
26+
27+
Live2D Cubism Components is available under Live2D Open Software License.
28+
29+
* [Live2D Open Software License Agreement](https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html)
30+
* [Live2D Open Software 使用許諾契約書](https://www.live2d.com/eula/live2d-open-software-license-agreement_jp.html)
31+
* [Live2D Open Software 使用授权协议](https://www.live2d.com/eula/live2d-open-software-license-agreement_cn.html)
32+
33+
## Live2D Proprietary Software License
34+
35+
Live2D Cubism Core is available under Live2D Proprietary Software License.
36+
37+
* [Live2D Proprietary Software License Agreement](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html)
38+
* [Live2D Proprietary Software 使用許諾契約書](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_jp.html)
39+
* [Live2D Proprietary Software 使用授权协议](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_cn.html)
40+
41+
---
42+
43+
Please contact us from [here](https://www.live2d.jp/contact/) for more license information.

README.ja.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
[English](README.md) / [日本語](README.ja.md)
2+
3+
---
4+
5+
# Cubism Java Framework
6+
7+
Live2D Cubism 4 Editor で出力したモデルをアプリケーションで利用するためのフレームワークです。
8+
9+
モデルを表示、操作するための各種機能を提供します。モデルをロードするにはCubism Coreライブラリと組み合わせて使用します。
10+
11+
このリポジトリは**alpha版**となっています。バグ報告やご提案がありましたら、GitHubの機能で[issue](https://github.com/Live2D/CubismJavaFramework/issues)を立てて弊社までお寄せください。
12+
13+
## 対応Javaバージョン
14+
15+
このFrameworkは**Java SE 6**以上でコンパイルが可能です。
16+
17+
## ライセンス
18+
19+
本フレームワークを使用する前に、[ライセンス](LICENSE.md)をご確認ください。
20+
21+
## コンポーネント
22+
23+
各コンポーネントはパッケージごとに提供しています。
24+
25+
### effect
26+
27+
自動まばたきやリップシンクなど、モデルに対してモーション情報をエフェクト的に付加する機能を提供します。
28+
29+
### exception
30+
31+
Cubism SDK frameworkに関連する例外クラス群を提供します。
32+
33+
### id
34+
35+
モデルに設定されたパラメータ名・パーツ名・Drawable 名を独自の型で管理する機能を提供します。
36+
37+
### math
38+
39+
行列計算やベクトル計算など、モデルの操作や描画に必要な算術演算の機能を提供します。
40+
41+
### model
42+
43+
モデルを取り扱うための各種機能(生成、更新、破棄)を提供します。
44+
45+
### motion
46+
47+
モデルにモーションデータを適用するための各種機能(モーション再生、パラメータブレンド)を提供します。
48+
49+
### physics
50+
51+
モデルに物理演算による変形操作を適用するための機能を提供します。
52+
53+
### rendering
54+
55+
各種プラットフォームでモデルを描画するためのグラフィックス命令を実装したレンダラを提供します。
56+
57+
### utils
58+
59+
JSON パーサーやログ出力などのユーティリティ機能を提供します。
60+
61+
## Live2D Cubism Core for Java
62+
63+
当リポジトリには Live2D Cubism Core for Java は同梱されていません。
64+
65+
ダウンロードするには[こちら](https://creatorsforum.live2d.com/t/topic/1110)のページを参照ください。
66+
67+
## サンプル
68+
69+
標準的なアプリケーションの実装例については、下記サンプルリポジトリを参照ください。
70+
71+
[CubismJavaSamples](https://github.com/Live2D/CubismJavaSamples)
72+
73+
## マニュアル
74+
75+
[Cubism SDK Manual](https://docs.live2d.com/cubism-sdk-manual/top/)
76+
77+
## 変更履歴
78+
79+
当リポジトリの変更履歴については [CHANGELOG.md](CHANGELOG.md) を参照ください。
80+
81+
## コミュニティ
82+
83+
ユーザー同士でCubism SDKの活用方法の提案や質問をしたい場合は、是非コミュニティをご活用ください。
84+
85+
- [Live2D 公式コミュニティ](https://creatorsforum.live2d.com/)
86+
- [Live2D community(English)](https://community.live2d.com/)

0 commit comments

Comments
 (0)