From bae896691aa3d7bb2a75292da3cc490894996b01 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 28 Aug 2011 13:55:59 +0000 Subject: Cycles: * Add alpha pass output, to use set Transparent option in Film panel. * Add Holdout closure (OSL terminology), this is like the Sky option in the internal renderer, objects with this closure show the background / zero alpha. * Add option to use Gaussian instead of Box pixel filter in the UI. * Remove camera response curves for now, they don't really belong here in the pipeline, should be moved to compositor. * Output full float values for rendering now, previously was only byte precision. * Add a patch from Thomas to get a preview passes option, but still disabled because it isn't quite working right yet. * CUDA: don't compile shader graph evaluation inline. * Convert tabs to spaces in python files. --- intern/cycles/app/cycles_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'intern/cycles/app') diff --git a/intern/cycles/app/cycles_test.cpp b/intern/cycles/app/cycles_test.cpp index f617e5db44b..c16f6f4e99a 100644 --- a/intern/cycles/app/cycles_test.cpp +++ b/intern/cycles/app/cycles_test.cpp @@ -85,7 +85,7 @@ static void session_print_status() static void session_init() { options.session = new Session(options.session_params); - options.session->reset(options.width, options.height); + options.session->reset(options.width, options.height, options.session_params.passes); options.session->scene = options.scene; if(options.session_params.background && !options.quiet) @@ -162,13 +162,13 @@ static void resize(int width, int height) options.height= height; if(options.session) - options.session->reset(options.width, options.height); + options.session->reset(options.width, options.height, options.session_params.passes); } void keyboard(unsigned char key) { if(key == 'r') - options.session->reset(options.width, options.height); + options.session->reset(options.width, options.height, options.session_params.passes); else if(key == 27) // escape options.session->progress.set_cancel("Cancelled"); } @@ -285,7 +285,7 @@ using namespace ccl; int main(int argc, const char **argv) { - path_init("../blender/intern/cycles"); + path_init("../build/bin/2.59/scripts/addons/cycles/"); options_parse(argc, argv); -- cgit v1.2.3