Bonsoir, j'ai un problème pour inserer des objets 3d, j ai fais mes objets avec Wings 3D ensuite j ai convertie en script pour GM 6.1 et maintenant je sais pas trop comment faire pour ajouter mon code...
Donc si une ame charitable pourrait m'eclaircir.
(désoler pour les fautes de frappes ou d'orthographes, je suis pressé)
[code]pierre_ID0 = d3d_model_create();
d3d_model_primitive_begin(pierre_ID0,pr_trianglelist);
d3d_model_vertex_normal_texture(pierre_ID0,8.20,0.00,19.80,0,0,0,0.18,0.20);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,8.00,3.31,20.90,0,0,0,0.20,0.22);
d3d_model_vertex_normal_texture(pierre_ID0,8.00,3.31,20.90,0,0,0,0.20,0.22);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,5.80,5.80,19.80,0,0,0,0.22,0.23);
d3d_model_vertex_normal_texture(pierre_ID0,5.80,5.80,19.80,0,0,0,0.22,0.23);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,3.14,7.58,19.80,0,0,0,0.25,0.24);
d3d_model_vertex_normal_texture(pierre_ID0,3.14,7.58,19.80,0,0,0,0.25,0.24);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,8.20,19.80,0,0,0,0.28,0.23);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,8.20,19.80,0,0,0,0.28,0.23);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,-3.14,7.58,19.80,0,0,0,0.30,0.21);
d3d_model_vertex_normal_texture(pierre_ID0,-3.14,7.58,19.80,0,0,0,0.30,0.21);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,-5.21,5.21,17.78,0,0,0,0.31,0.18);
d3d_model_vertex_normal_texture(pierre_ID0,-5.21,5.21,17.78,0,0,0,0.31,0.18);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
d3d_model_vertex_normal_texture(pierre_ID0,-7.58,3.14,19.80,0,0,0,0.32,0.15);
d3d_model_vertex_normal_texture(pierre_ID0,-7.58,3.14,19.80,0,0,0,0.32,0.15);
d3d_model_vertex_normal_texture(pierre_ID0,0.00,0.00,21.43,0,0,0,0.25,0.16);
c'est seulement un bout de mon code, je fais un gros cailloux... ^^