diff --git a/README.md b/README.md index e3dda3b..49f3274 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Raymarching in C -![infinite spheres](renders/spheres.png) +![infinite spheres](renders/mandelbulb-pow3.png) ## Compiling: in fish: diff --git a/main.c b/main.c index 606a0fc..dfbdccb 100644 --- a/main.c +++ b/main.c @@ -117,13 +117,13 @@ int main(int argc, char* argv[]) { printf("threads: %d\n", threads); // create basic scene with up to 10 objects - Scene scene = scene_new(1000, 1000, 10); + Scene scene = scene_new(512, 512, 10); scene.max_steps = 1000; scene.threshold = 0.0001; //scene_add_obj(&scene, circle_new(pt_new(SCENE_MOD / 2.0, SCENE_MOD/ 2.0, SCENE_MOD / 2.0), .2)); - scene_add_obj(&scene, mandelbulb2_new(pt_new(1,1,1), 2000, 3)); + scene_add_obj(&scene, mandelbulb_new(pt_new(1,1,1), 2000, 3)); Image *img = render_scene(&scene, &cam, threads); diff --git a/renders/logo.png b/renders/logo.png new file mode 100644 index 0000000..fb4d125 Binary files /dev/null and b/renders/logo.png differ