비행기 3D 모델: import bpy
import mathutils
import random
import math

# ======================= | Tripo AI
Lv.0

airplane 3d model

모든 3D 모델 둘러보기
프롬프트

import bpy import mathutils import random import math # ======================= 3D 비행기 장면 생성 (사실적인 모델) ======================= def setup_airplane_scene(): # 기존 객체 삭제 bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(use_global=False) # ---- 지면 ---- bpy.ops.mesh.primitive_plane_add(size=6000, location=(0, 0, -400)) ground = bpy.context.object ground.name = "Ground" mat_ground = bpy.data.materials.new("GroundMat") mat_ground.diffuse_color = (0.1, 0.45, 0.15, 1) ground.data.materials.append(mat_ground) # ---- 멀리 있는 직사각형 객체(건물) ---- for i in range(70): x = random.uniform(-3000, 3000) y = random.uniform(-3000, 3000) z = random.uniform(-250, 450) sx = random.uniform(25, 90) sy = random.uniform(25, 90) sz = random.uniform(60, 280) bpy.ops.mesh.primitive_cube_add(size=1, location=(x, y, z)) obj = bpy.contex

4K·Tripo H3.1

관련 모델