
purple glossy sculpture 3d model
import bpy # 오징어 외계인 와인 재질 생성 mat_name = "Squid_Alien_Wine" mat = bpy.data.materials.new(name=mat_name) mat.use_nodes = True nodes = mat.node_tree.nodes links = mat.node_tree.links # 기본 노드 초기화 nodes.clear() # 1. 출력 및 Principled BSDF output_node = nodes.new(type='ShaderNodeOutputMaterial') output_node.location = (1200, 0) bsdf_node = nodes.new(type='ShaderNodeBsdfPrincipled') bsdf_node.location = (800, 0) # 매끄럽고 광택 있는 유체 표면으로 만들기 bsdf_node.inputs['Base Color'].default_value = (0.12, 0.01, 0.25, 1) # 깊은 우주 보라색/검정색 bsdf_node.inputs['거칠기'].기본값 = 0.02 # 완벽하게 젖은 반사 bsdf_node.inputs['IOR'].기본값 = 1.34 # 액체/와인의 굴절률 bsdf_node.inputs['방출 강도'].기본값 = 12.0 # 밝은 외계 생물 발광 # 투과(유리/액체 느낌)에 대한 Blender 버전 호환성 처리 '투과 가중치'가 bsdf_node.inputs에 있는 경우: bsdf_node.inputs['투과 가중치']
Tripo H3.1