"NoNormal_NoUVs_Colors.ply",
"NoNormal_NoUVs_NoColors.ply"};
-int draw_mode[2] = {EVAS_CANVAS3D_SHADE_MODE_PHONG, EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR};
+int draw_mode[8] = {EVAS_CANVAS3D_SHADE_MODE_PHONG,
+ EVAS_CANVAS3D_SHADE_MODE_PHONG,
+ EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR,
+ EVAS_CANVAS3D_SHADE_MODE_SHADOW_MAP_RENDER,
+ EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR,
+ EVAS_CANVAS3D_SHADE_MODE_SHADOW_MAP_RENDER,
+ EVAS_CANVAS3D_SHADE_MODE_VERTEX_COLOR,
+ EVAS_CANVAS3D_SHADE_MODE_SHADOW_MAP_RENDER};
Ecore_Evas *ecore_evas = NULL;
Evas *evas = NULL;
eo_do(mesh[i],
efl_file_set(buffer, NULL),
evas_canvas3d_mesh_frame_material_set(0, material),
- evas_canvas3d_mesh_shade_mode_set(draw_mode[(i % 16) / 8]));
+ evas_canvas3d_mesh_shade_mode_set(draw_mode[(i % 8)]));
snprintf(buffer, PATH_MAX, "%s%s", output_template, file_name[i % 8]);
eo_do(mesh[i], efl_file_save(buffer, NULL, NULL));
eo_do(mesh[i],
efl_file_set(buffer, NULL),
evas_canvas3d_mesh_frame_material_set(0, material),
- evas_canvas3d_mesh_shade_mode_set(draw_mode[(i % 16) / 8]));
+ evas_canvas3d_mesh_shade_mode_set(draw_mode[(i % 8)]));
}
mesh_node[i] = eo_add(EVAS_CANVAS3D_NODE_CLASS, evas,