Stable Diffusionで3Dモデル用のテクスチャを作りまくった

Others

Stable Diffusionとは

Stable Diffusion 2-1 - a Hugging Face Space by stabilityai
Discover amazing ML apps made by the community

AIにイラストを描かせるやつです。
写真みたいなのもいけるので、これを使って3Dモデル用のテクスチャを作ります。

使い方等はどっか適当のサイトを見てください。
ここではプロンプト(命令文)と出力画像、ポイントだけ書きます。

出力したのは以下

  • レンガ
  • コンクリート
  • モルタル
  • アスファルト
  • 大理石
  • 漆喰
  • レザー
  • 粘土
  • 壁紙
  • 電子回路
  • 屋根
  • 金属
  • タイル

全てのプロンプトで2~4枚以上刷っています。
合計600枚以上出力し、使えそうなのは100枚ちょっとです。

環境のせいなのかなんなのか、たまに青いシミみたいのが出てきます。
割と許せないのでなんとかしてほしい。

ここで使った画像は下記URLに入れておくので、拡大して見たい場合はDLしてください。

https://drive.google.com/drive/folders/1fFrLI2F0HEtcP5o4p2KGIrTZA-gjNvSj?usp=sharing

レンガ

この辺の壁系は適当に入れてもいい感じに出てくれます。
レンガ単体のテクスチャは難しい。

brick wall texture photo

コンクリート

あんまり試してないけど、模様でくり抜かれたコンクリートブロックみたいなのは出にくいかもしれません。

concrete wall texture photo
old dirty concrete wall, texture for cg material, image of white, photo

モルタル

mortar wall texture photo
white mortar wall texture photo

アスファルト

asphalt texture

大理石

毛細血管みたいなのが出がちなので、多少回数が必要。

marble texture photo
white marble texture

漆喰

いかにも漆喰って感じのものは出にくい。
それなりに回数が必要。

stucco wall texture

レザー

Stepを上げないといい感じになりません。
30と100しか試してないけど、30は無理。
whiteを指定するとイマイチになりがち。

leather texture photo
white synthetic leather texture
glossy leather texture

木の幹(bark)とラタン(rattan)は試行回数が必要。
フローリング(floor)も意外と当たりはずれがある。
ヘリンボーン(herringbone)はwoodを抜くと厳しい。

wood texture
wood floor texture
herringbone wood texture
tree bark texture, photo
rattan texture
cork board texture
grain wood texture
japanese old wooden house wall, 4k texture, photo
white wood tile flooring texture, photo

粘土

テラコッタ系は青いシミが相当目立つので注意。

clay texture, photo
clay wall texture
terracotta texture, photo
terracotta wall texture

壁紙

青いシミが目立つ。
プロンプトで結構変わる。
whiteを抜いた瞬間カオスが顕現したりする。
パターン系はぱっと見悪くないけど細部が汚くなりがち。

white wallpaper texture
white wallpaper texture, with a simple pattern, photo
white wallpaper with pattern, photo
patterned room wallpaper, photo
wallpaper with pattern, photo

狙ったのは出ないけど狙ってないのが出たりする。
全体的に難しいけど出ないわけじゃない。

white washi paper texture, photo
white crumpled paper texture, photo

できればStepを上げたい。
細かく見ると怪しい気もするけど、無視できるレベルかな……?
柄ものは難しい。
青いシミがかなり目立つので白で作りたいときは祈る。

white cloth texture
denim texture
rug texture
white beautiful knit texture
jute texture
carpet texture
white fabric texture

レンガと同じく石単体のテクスチャになると難しい。
石畳は石と石の境界が消えやすいので多少回数がいる。

stone texture
stone paving texture
stone wall texture
stone texture, photo

土は肥料っぽいものが出やすく、砂はサラサラした感じが出にくい。

ground texture, photo
sand texture

電子回路

拡大しなければ使える程度。

electronic circuit pattern, vector

隙間ができやすい上に、まとまった綱みたいなのが出てきてくれない。

rope texture

一枚一枚の形はさておき、それなりに出やすい。

wall overgrown with ivy texture
ivy texture
fallen leaves texture

屋根

Stepを上げないと平面っぽくなる。
あんまり試してない。

roofing tile texture

金属

本当に出てこない。
一番多く刷ったけど使えそうなのはこれだけ。
誰か助けてください。

rusty metal texture

タイル

レンガ類と違ってかなり出にくい。
狙った模様を出すのは相当難しい。

ceramic square tiles, seamless texture, photo
mosaic tile wall texture, photo

あんまり上手くいかなかったやつ

金属全般

何一つとして出てこない。
Step数を上げても変わらず。
錆系統(rusty)は比較的使えそうなものができやすい。

brushed metal texture for cg material

iron texture photo
metal texture
metal scratch texture
metal scratches texture
rough metal texture
metal surface texture
bumped metal texture
brushed metal texture
dirty metal sheet, texture
aluminium texture
rusty metal panel texture
diamond plate
diamond plate texture
metal plate texture
brushed aluminium texture
brushed steel plate texture
brushed flat metal texture for cg material
brushed shiny metal texture for cg material
smooth metal textures for cg materials
steel plate close up
steel background
stainless steel texture
brushed, metal texture, wide scrathed, silver, for blender, photo

プラスチックやガラスのスクラッチ

どう足掻いても出ない。
金属と同じで傷の質感を出すことができない。

polished and scrathced blue plastic texture for blender, 4k

glass scratches texture photo
glass scratch texture
plastic texture, photo
plastic sheet texture
white glass texture
white scratches texture
surface scratches
material texture, plastic
material texture, scratched plastic
polished and scratched plastic
polished and scratched plastic texture for blender, 4k

毛皮

使えなくもないけど……くらいのものになる。

fur texture seamless

seamless fur texture
leopard fur texture, photo
leopard, real fur texture

木の彫刻

pattern carved in wood

wood carving texture

ダンボール

cardboard texture

cardboard box texture

かなり不自然になる。

bamboo fence texture

bamboo texture
bamboo wall texture

基本的に緑一色になる。

mossy soil texture

moss texture
moss ground texture
mossy ground texture

恐らく畳という概念を理解していない。

tatami texture, photo

tatami texture

タオルっぽい布

正直試行回数を積めば出そう。

white towel texture

white fabric cotton cloth texture
white blanket texture

トタン

あんまり試してない。

tin texture horizontal

tin texture

柄付きの布

stripe cotton fabric texture

checkerboard cotton fabric texture

ワイヤーメッシュ

無理。

metal mesh texture

wire mesh texture, photo
steel fence texture
steel wire mesh texture

花崗岩

単体の石は難しい理論が適用されていて、欲しい感じのが来ない。

close up granite texture

granite texture close up

タイル系

tileをtilesにすることで成功率が上がる(気がする)。

checkerboard floor texture

patterned floor texture
square tile floor texture
brushed square tile floor texture
ceramic square tile floor, seanless texture
ceramic square tile, seamless texture
ceramic square tile, seamless texture, photo
clean ceramic tile wall, seamless texture, photo
ceramic tile wall
polished ceramic square tile wall, texture, photo

コメント

タイトルとURLをコピーしました