# HG changeset patch # User John Tsiombikas # Date 1283641040 -3600 # Node ID 55b30d8b6805fca7ef7e4212cdfb628bb6824074 # Parent 9c0867942612fbb97d583915a4c20d81e9cceb16 wrong filename on captured images diff -r 9c0867942612 -r 55b30d8b6805 src/clray.cc --- a/src/clray.cc Thu Sep 02 01:41:51 2010 +0100 +++ b/src/clray.cc Sat Sep 04 23:57:20 2010 +0100 @@ -382,7 +382,7 @@ float *pixels = new float[4 * xsz * ysz]; glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_FLOAT, pixels); - bool res = write_ppm("shot.ppm", pixels, xsz, ysz); + bool res = write_ppm(fname, pixels, xsz, ysz); if(!res) { num--; } diff -r 9c0867942612 -r 55b30d8b6805 src/rt.cc --- a/src/rt.cc Thu Sep 02 01:41:51 2010 +0100 +++ b/src/rt.cc Sat Sep 04 23:57:20 2010 +0100 @@ -50,7 +50,7 @@ static int global_size; static Light lightlist[] = { - {{-8, 15, 18, 0}, {1, 1, 1, 1}} + {{-0.402, 0.696, 1.713, 0}, {1, 1, 1, 1}} };