fix: reduce 3d_print resolution 80→40 to avoid OOM
This commit is contained in:
@@ -91,7 +91,7 @@ int main() {
|
|||||||
|
|
||||||
const Point3D bmin(-3.0, -3.0, -3.0);
|
const Point3D bmin(-3.0, -3.0, -3.0);
|
||||||
const Point3D bmax( 3.0, 3.0, 3.0);
|
const Point3D bmax( 3.0, 3.0, 3.0);
|
||||||
const int resolution = 80;
|
const int resolution = 40;
|
||||||
|
|
||||||
auto mc = marching_cubes(shape_sdf, 0.0, bmin, bmax, resolution);
|
auto mc = marching_cubes(shape_sdf, 0.0, bmin, bmax, resolution);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user