From 389ca590d2ba18d6cace6628d560ce4325f6b0e1 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 28 Jul 2011 14:34:59 +0200 Subject: [PATCH] nicer default sky --- src/librender/scene.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/librender/scene.cpp b/src/librender/scene.cpp index af577b72..51644e37 100644 --- a/src/librender/scene.cpp +++ b/src/librender/scene.cpp @@ -283,10 +283,11 @@ void Scene::initialize() { if (!m_luminairePDF.isReady()) { if (m_luminaires.size() == 0) { Log(EWarn, "No luminaires found -- adding a sky luminaire"); - Properties skyPropsProps("sky"); - skyPropsProps.setFloat("scale", 0.03f); + Properties skyProps("sky"); + skyProps.setFloat("scale", 0.1f); + skyProps.setBoolean("extend", true); ref luminaire = static_cast( - PluginManager::getInstance()->createObject(MTS_CLASS(Luminaire), skyPropsProps)); + PluginManager::getInstance()->createObject(MTS_CLASS(Luminaire), skyProps)); addChild("", luminaire); luminaire->configure(); }