├── .gitignore
├── LICENSE
├── README.md
├── RM_TOOL
├── RM_SubdivisionSurface
│ ├── RM_SubdivisionSurface4.0.blend
│ └── RM_SubdivisionSurface4.1+.blend
├── blender_assets.cats.txt
└── blender_assets.cats.txt~
└── images
├── 1a12f693c34850dae32a3567cb73ea84a97095868f4e5d3949fd625dce664d06.png
├── 8928c8c4eedf326ee401d52cb5d8b7a1f23edc20e77f7f27bae55d49f3e0741f.png
├── 9fcc6e7359f552a5565bfffe6eb18f12b3a1c9149738c799a0aae16236bfcac6.png
├── bdcbae986be22dce2d72e371dd7131aabb05b65b88d289c0de2dd2585ed3a1e0.gif
├── c187ad54f4795111348d2ee52c2889a48ed92742aecf3c8175ad93a5fcece455.png
├── c6fb493193bf162da64874c142f7e093a3d442f0100ed3ac0cea5e9ff31c9fe2.png
└── image.png
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *$py.class
5 |
6 | # C extensions
7 | *.so
8 |
9 | # Distribution / packaging
10 | .Python
11 | build/
12 | develop-eggs/
13 | dist/
14 | downloads/
15 | eggs/
16 | .eggs/
17 | lib/
18 | lib64/
19 | parts/
20 | sdist/
21 | var/
22 | wheels/
23 | share/python-wheels/
24 | *.egg-info/
25 | .installed.cfg
26 | *.egg
27 | MANIFEST
28 |
29 | # PyInstaller
30 | # Usually these files are written by a python script from a template
31 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
32 | *.manifest
33 | *.spec
34 |
35 | # Installer logs
36 | pip-log.txt
37 | pip-delete-this-directory.txt
38 |
39 | # Unit test / coverage reports
40 | htmlcov/
41 | .tox/
42 | .nox/
43 | .coverage
44 | .coverage.*
45 | .cache
46 | nosetests.xml
47 | coverage.xml
48 | *.cover
49 | *.py,cover
50 | .hypothesis/
51 | .pytest_cache/
52 | cover/
53 |
54 | # Translations
55 | *.mo
56 | *.pot
57 |
58 | # Django stuff:
59 | *.log
60 | local_settings.py
61 | db.sqlite3
62 | db.sqlite3-journal
63 |
64 | # Flask stuff:
65 | instance/
66 | .webassets-cache
67 |
68 | # Scrapy stuff:
69 | .scrapy
70 |
71 | # Sphinx documentation
72 | docs/_build/
73 |
74 | # PyBuilder
75 | .pybuilder/
76 | target/
77 |
78 | # Jupyter Notebook
79 | .ipynb_checkpoints
80 |
81 | # IPython
82 | profile_default/
83 | ipython_config.py
84 |
85 | # pyenv
86 | # For a library or package, you might want to ignore these files since the code is
87 | # intended to run in multiple environments; otherwise, check them in:
88 | # .python-version
89 |
90 | # pipenv
91 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92 | # However, in case of collaboration, if having platform-specific dependencies or dependencies
93 | # having no cross-platform support, pipenv may install dependencies that don't work, or not
94 | # install all needed dependencies.
95 | #Pipfile.lock
96 |
97 | # poetry
98 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99 | # This is especially recommended for binary packages to ensure reproducibility, and is more
100 | # commonly ignored for libraries.
101 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102 | #poetry.lock
103 |
104 | # pdm
105 | # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106 | #pdm.lock
107 | # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108 | # in version control.
109 | # https://pdm.fming.dev/#use-with-ide
110 | .pdm.toml
111 |
112 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113 | __pypackages__/
114 |
115 | # Celery stuff
116 | celerybeat-schedule
117 | celerybeat.pid
118 |
119 | # SageMath parsed files
120 | *.sage.py
121 |
122 | # Environments
123 | .env
124 | .venv
125 | env/
126 | venv/
127 | ENV/
128 | env.bak/
129 | venv.bak/
130 |
131 | # Spyder project settings
132 | .spyderproject
133 | .spyproject
134 |
135 | # Rope project settings
136 | .ropeproject
137 |
138 | # mkdocs documentation
139 | /site
140 |
141 | # mypy
142 | .mypy_cache/
143 | .dmypy.json
144 | dmypy.json
145 |
146 | # Pyre type checker
147 | .pyre/
148 |
149 | # pytype static type analyzer
150 | .pytype/
151 |
152 | # Cython debug symbols
153 | cython_debug/
154 |
155 | # PyCharm
156 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158 | # and can be added to the global gitignore or merged into this file. For a more nuclear
159 | # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160 | #.idea/
161 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Ranman
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # RM_SubdivisionSurface
2 | - **RM_SubdivisionSurface**は3DCGソフトBlenderのジオメトリーノード製のツールです。オブジェクトのメッシュを細分化し滑らかにします。RM_SubdivisionSurfaceではメッシュの痩せ・太り具合、スムーズをコントロールできます。 [Amazon wish list](https://t.co/uyceRKkqjA)
3 | 
4 |
5 | ---
6 |
7 | ### 動作バージョン
8 | - Blender 4.0.0以降(動作確認:4.0, 4.1, 4.2)
9 |
10 | ### インストール方法
11 | - **RM_SubdivisionSurface**はBlenderのアドオンではなくジオメトリーノードです。そのためアセットライブラリに登録して使用するといいでしょう。アセットライブラリに登録されるとオブジェクトのモディファイアーのリストに表示されるようになります
12 | - 以下の表からBlenderのバージョンに合ったファイルをダウンロードします。下位バージョンのBlenderで上位のバージョンのモディファイヤを使うと**Blenderがクラッシュします**
13 |
14 | |Blenderバージョン|ダウンロードリンク|
15 | |---|---|
16 | |Blender 4.0|[RM_SubdivisionSurface4.0.blend](https://github.com/RanmanEmpire/RM_SubdivisionSurface/raw/main/RM_TOOL/RM_SubdivisionSurface/RM_SubdivisionSurface4.0.blend)|
17 | |Blender 4.1以上|[RM_SubdivisionSurface4.1+.blend](https://github.com/RanmanEmpire/RM_SubdivisionSurface/raw/main/RM_TOOL/RM_SubdivisionSurface/RM_SubdivisionSurface4.1+.blend)|
18 |
19 |
20 | - Blenderの【プリファレンス】→【ファイルパス】→【アセットライブラリ】を開いてください。アセットライブラリとして使用できるフォルダパスが確認できます。
21 | - このフォルダパスに先ほどファイルをコピーします。
22 | 
23 |
24 | - Blenderを再起動してアセットライブラリを表示するとRM_TOOLの項目があり、その中に「RM_SubdivisionSurface」が入っていればアセットライブラリへの登録は成功です。
25 | 
26 |
27 | ### 使用方法
28 | - アセットライブラリへの登録が済んでいれば、モディファイアの一覧の中にRM_TOOL→RM_SubdivisionSurfaceが表示されているので、モディファイアとして選択してください。
29 | 
30 |
31 | ### 設定項目
32 | |項目|効果|
33 | |---|---|
34 | |Subdivision Level Viewport・Render|メッシュの細分化数を指定します。ビューポートとレンダリングで別々に設定できます。モディファイヤの適用時はビューポートの設定値が適用されます。|
35 | |VolumeControl|メッシュの細分化後の痩せ・太りをコントロールします**値は直接入力で-1から1以上の数値も入力できます。**|
36 | |Subdivision Smooth|メッシュの細分化後のスムーズをコントロールします*0はメッシュの細分化をされたものになります*|
37 | |UV Smooth|細分化の際のUVの挙動を指定します
内容は従来のSubdivisionSurfaceと同等のものです
0;None(なし)
1:Keep Corners(コーナーを維持)
2:Keep Corners, Junctions(コーナーと接点を維持)
3:Keep Corners, Junctions, Concave(コーナー,接点,凹面を維持)
4:Keep Boundaries(境界を維持)
5:All(全て)|
38 | |Boundary Smooth|細分化の際のメッシュのコーナーについての挙動を指定します
内容は従来のSubdivisionSurfaceと同等のものです
0:Keep Corners(コーナーを維持)
1:All(全て)|
39 | |Edge Crease|メッシュの辺に設定したクリースの適用度をコントロールします|
40 | |Vertex Crease|メッシュの頂点に設定したクリースの適用度をコントロールします|
41 |
42 | ### バグ報告・機能追加要望についてのお願い
43 | - 使用中にバグを発見した際・追加機能の要望があればぜひ作者までご連絡ください。それぞれご対応いたします。
44 |
45 | ### 更新履歴
46 | - 2024/03/31
47 | - Githubに公開
48 | - 2024/08/11 (D.Lettermanによる更新)
49 | - ビューポートとレンダリングでサブディビジョンレベルを変更可能になりました(4.0, 4.1+)
50 | - UIの項目がカテゴリ分けられました(4.1+)
51 | - 「UV Smooth」と「Boundary Smooth」の項目がコンボボックス選択になりました。
52 | - 2024/10/20
53 | - シーンが増えるバグを修正
54 | - ワールド内でジオメトリノードのオブジェクトが増えるバグを修正
55 |
56 |
57 | ### 免責事項
58 | - 本ツールは、使用者の責任にて使用することを前提として提供されます。本ツールの妥当性や結果に関する判断は使用者が行うべきものであり、著作権者は使用結果に関して何らの保証をするものではなく、どのような形でも責任を負いません。著作権者は本ツールの仕様、もしくは使用不能に起因して生じた利益の損失、障害、その他の金銭的な損害を含め、いかなる特定の偶発的、間接的、もしくは派生的損害についても責任を負いません。
--------------------------------------------------------------------------------
/RM_TOOL/RM_SubdivisionSurface/RM_SubdivisionSurface4.0.blend:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/RM_TOOL/RM_SubdivisionSurface/RM_SubdivisionSurface4.0.blend
--------------------------------------------------------------------------------
/RM_TOOL/RM_SubdivisionSurface/RM_SubdivisionSurface4.1+.blend:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/RM_TOOL/RM_SubdivisionSurface/RM_SubdivisionSurface4.1+.blend
--------------------------------------------------------------------------------
/RM_TOOL/blender_assets.cats.txt:
--------------------------------------------------------------------------------
1 | # This is an Asset Catalog Definition file for Blender.
2 | #
3 | # Empty lines and lines starting with `#` will be ignored.
4 | # The first non-ignored line should be the version indicator.
5 | # Other lines are of the format "UUID:catalog/path/for/assets:simple catalog name"
6 |
7 | VERSION 1
8 |
9 | 11ea010b-72b3-4c35-918e-dce834a4e554:RM_TOOL:RM_TOOL
10 | 2aa60be0-e69b-4182-8d8c-aa23b59ba02f:RM_TOOL:RM_TOOL
11 |
--------------------------------------------------------------------------------
/RM_TOOL/blender_assets.cats.txt~:
--------------------------------------------------------------------------------
1 | # This is an Asset Catalog Definition file for Blender.
2 | #
3 | # Empty lines and lines starting with `#` will be ignored.
4 | # The first non-ignored line should be the version indicator.
5 | # Other lines are of the format "UUID:catalog/path/for/assets:simple catalog name"
6 |
7 | VERSION 1
8 |
9 | 11ea010b-72b3-4c35-918e-dce834a4e554:RM_TOOL:RM_TOOL
10 | 2aa60be0-e69b-4182-8d8c-aa23b59ba02f:RM_TOOL:RM_TOOL
11 |
--------------------------------------------------------------------------------
/images/1a12f693c34850dae32a3567cb73ea84a97095868f4e5d3949fd625dce664d06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/1a12f693c34850dae32a3567cb73ea84a97095868f4e5d3949fd625dce664d06.png
--------------------------------------------------------------------------------
/images/8928c8c4eedf326ee401d52cb5d8b7a1f23edc20e77f7f27bae55d49f3e0741f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/8928c8c4eedf326ee401d52cb5d8b7a1f23edc20e77f7f27bae55d49f3e0741f.png
--------------------------------------------------------------------------------
/images/9fcc6e7359f552a5565bfffe6eb18f12b3a1c9149738c799a0aae16236bfcac6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/9fcc6e7359f552a5565bfffe6eb18f12b3a1c9149738c799a0aae16236bfcac6.png
--------------------------------------------------------------------------------
/images/bdcbae986be22dce2d72e371dd7131aabb05b65b88d289c0de2dd2585ed3a1e0.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/bdcbae986be22dce2d72e371dd7131aabb05b65b88d289c0de2dd2585ed3a1e0.gif
--------------------------------------------------------------------------------
/images/c187ad54f4795111348d2ee52c2889a48ed92742aecf3c8175ad93a5fcece455.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/c187ad54f4795111348d2ee52c2889a48ed92742aecf3c8175ad93a5fcece455.png
--------------------------------------------------------------------------------
/images/c6fb493193bf162da64874c142f7e093a3d442f0100ed3ac0cea5e9ff31c9fe2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/c6fb493193bf162da64874c142f7e093a3d442f0100ed3ac0cea5e9ff31c9fe2.png
--------------------------------------------------------------------------------
/images/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RanmanEmpire/RM_SubdivisionSurface/8ebd6cc32fd6ada72ebf246fd9b8c17166f4d4ae/images/image.png
--------------------------------------------------------------------------------