From 071bc3e6439d7775e9684dfeeb27d423d47167a9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 11 Jan 2020 21:12:40 +0100 Subject: Add version of local fisheye sunrise with fancy plotting --- sunrise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrise.py') diff --git a/sunrise.py b/sunrise.py index 408f408..47457f6 100644 --- a/sunrise.py +++ b/sunrise.py @@ -43,7 +43,7 @@ for i in numpy.arange(*sun_range): sun = make_double3(0.0,numpy.cos(i*2*numpy.pi/360),numpy.sin(i*2*numpy.pi/360)) print(sun) - program.render( + program.render_pinhole( cl_queue, (config['size_x'], config['size_y']), None, cl_picture, make_double3(*(config['eye_pos'] * earth['earth_radius'])), make_double3(*(config['eye_dir'] * earth['earth_radius'])), -- cgit v1.2.3