Avion modèle 3D : import bpy import math # ========================================== # CONFIGURAT | Tripo AI
Lv.0

avión 3d modelo

Parcourir tous les modèles 3D
Prompt

import bpy import math # ========================================== # CONFIGURATION DE LA SCÈNE, DU RENDU ET DE LA CAMÉRA # ========================================== # Nettoyer la scène précédente bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(do_unlink=True) # Configuration du rendu (Cycles / Eevee) scene = bpy.context.scene scene.render.engine = 'CYCLES' # OU 'BLENDER_EEVEE_NEXT' scene.cycles.samples = 128 scene.render.resolution_x = 1920 scene.render.resolution_y = 1080 # Créer un fond infini (blanc) bpy.ops.mesh.primitive_plane_add(size=200, location=(0, 0, -0.5)) plane = bpy.context.active_object plane.name = "Fond_Blanc" mat_bg = bpy.data.materials.new(name="Mat_Fondo") mat_bg.use_nodes = True nodes_bg = mat_bg.node_tree.nodes nodes_bg["Principled BSDF"].inputs['Base Color'].default_value = (1.0, 1.0, 1.0, 1.0) nodes_bg["Principled BSDF"].inputs['Roughness'].default_value = 1.0 plane.data.materials.append(mat_bg) # Éclairage d'étude doux bpy.ops.object.light_add(

4K·PBR·Tripo H3.1

Modèles similaires