paint: high poly default meshes
This commit is contained in:
@@ -144,8 +144,8 @@ void project_new(bool reset_layers) {
|
|||||||
mesh->name = "Tessellated";
|
mesh->name = "Tessellated";
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
}
|
}
|
||||||
else if (string_equals(mesh_name, "sphere_1024")) {
|
else if (string_equals(mesh_name, "sphere_2048")) {
|
||||||
raw_mesh_t *mesh = geom_make_uv_sphere(1, 1024, 512, true, 1.0);
|
raw_mesh_t *mesh = geom_make_uv_sphere(1, 4096, 2048, true, 1.0);
|
||||||
mesh->name = "Tessellated";
|
mesh->name = "Tessellated";
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
}
|
}
|
||||||
@@ -155,8 +155,8 @@ void project_new(bool reset_layers) {
|
|||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
// viewport_set_view(0, 0, 0.75, 0, 0, 0); // Top
|
// viewport_set_view(0, 0, 0.75, 0, 0, 0); // Top
|
||||||
}
|
}
|
||||||
else if (string_equals(mesh_name, "plane_1024")) {
|
else if (string_equals(mesh_name, "plane_2048")) {
|
||||||
raw_mesh_t *mesh = geom_make_plane(1, 1, 1024, 1024, 1.0);
|
raw_mesh_t *mesh = geom_make_plane(1, 1, 2048, 2048, 1.0);
|
||||||
mesh->name = "Tessellated";
|
mesh->name = "Tessellated";
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
// viewport_set_view(0, 0, 0.75, 0, 0, 0); // Top
|
// viewport_set_view(0, 0, 0.75, 0, 0, 0); // Top
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ void project_fetch_default_meshes() {
|
|||||||
project_default_mesh_list->buffer[i] = substring(project_default_mesh_list->buffer[i], 0, string_length(s) - 4); // Trim .arm
|
project_default_mesh_list->buffer[i] = substring(project_default_mesh_list->buffer[i], 0, string_length(s) - 4); // Trim .arm
|
||||||
}
|
}
|
||||||
any_array_push(project_default_mesh_list, "plane");
|
any_array_push(project_default_mesh_list, "plane");
|
||||||
any_array_push(project_default_mesh_list, "plane_1024");
|
any_array_push(project_default_mesh_list, "plane_2048");
|
||||||
any_array_push(project_default_mesh_list, "sphere");
|
any_array_push(project_default_mesh_list, "sphere");
|
||||||
any_array_push(project_default_mesh_list, "sphere_1024");
|
any_array_push(project_default_mesh_list, "sphere_2048");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -400,16 +400,16 @@ void tab_meshes_append_shape(char *mesh_name) {
|
|||||||
raw_mesh_t *mesh = geom_make_uv_sphere(1, 128, 64, true, 1.0);
|
raw_mesh_t *mesh = geom_make_uv_sphere(1, 128, 64, true, 1.0);
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
}
|
}
|
||||||
else if (string_equals(mesh_name, "sphere_1024")) {
|
else if (string_equals(mesh_name, "sphere_2048")) {
|
||||||
raw_mesh_t *mesh = geom_make_uv_sphere(1, 1024, 512, true, 1.0);
|
raw_mesh_t *mesh = geom_make_uv_sphere(1, 4096, 2048, true, 1.0);
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
}
|
}
|
||||||
else if (string_equals(mesh_name, "plane")) {
|
else if (string_equals(mesh_name, "plane")) {
|
||||||
raw_mesh_t *mesh = geom_make_plane(1, 1, 2, 2, 1.0);
|
raw_mesh_t *mesh = geom_make_plane(1, 1, 2, 2, 1.0);
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
}
|
}
|
||||||
else if (string_equals(mesh_name, "plane_1024")) {
|
else if (string_equals(mesh_name, "plane_2048")) {
|
||||||
raw_mesh_t *mesh = geom_make_plane(1, 1, 1024, 1024, 1.0);
|
raw_mesh_t *mesh = geom_make_plane(1, 1, 2048, 2048, 1.0);
|
||||||
raw = import_mesh_raw_mesh(mesh);
|
raw = import_mesh_raw_mesh(mesh);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user