This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Blender 質感・マテリアル設定実践テクニック | |
# 3-03-2.blend ガラスのくすみ・表面劣化 | |
import bpy | |
NOT_MODIFIED = False | |
object = bpy.data.objects['export3dcoat'] # シーンに配置済みのオブジェクト | |
slot = object.material_slots[0] # そのマテリアルスロット | |
material = slot.material # に設定されているマテリアル | |
node_tree = material.node_tree # のノードネットワーク |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Blender 質感・マテリアル設定実践テクニック | |
# 3-04-01.blend ドロドロ汚れの作り方 | |
import bpy | |
NOT_MODIFIED = False | |
object = bpy.data.objects['export3dcoat'] # シーンに配置済みのオブジェクト | |
slot = object.material_slots[0] # そのマテリアルスロット | |
material = slot.material # に設定されているマテリアル | |
node_tree = material.node_tree # のノードネットワーク | |
nodes = node_tree.nodes # にある各ノード | |
def delete(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Blender 質感・マテリアル設定実践テクニック | |
# 3-05-02.blend 錆びの作り方 | |
import bpy | |
NOT_MODIFIED = False | |
object = bpy.data.objects['export3dcoat'] # シーンに配置済みのオブジェクト | |
slot = object.material_slots[0] # そのマテリアルスロット | |
material = slot.material # に設定されているマテリアル | |
node_tree = material.node_tree # のノードネットワーク | |
nodes = node_tree.nodes # にある各ノード | |
def delete(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Blender 質感・マテリアル設定実践テクニック | |
# ひび割れの作り方 | |
# 3-06-01.blend 3-06-02.blend 3-06-03.blend | |
import bpy | |
class CrackType: | |
"""ひび割れの種類です。""" | |
NOISE = 1 # 大まかなひび割れ | |
VORONOI = 2 # 細かいひび割れ | |
MUSGRAVE = 3 # 不規則性の高いひび割れ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# バイナリエディタ🙂 | |
import ctypes, hashlib, math, os, random, sys | |
import PySide6.QtCore as C | |
import PySide6.QtGui as G | |
import PySide6.QtWidgets as W | |
MONOSPACE_FONT = 'MS ゴシック' | |
class Application(W.QApplication): | |
"""アプリ全体を表す抽象的なクラスです。""" | |
def __init__(self): | |
super().__init__(sys.argv) |
OlderNewer