From 0ba5295404dd1c2ee04a9e7823eafc664562f4eb Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Fri, 7 Sep 2007 03:48:50 +0000 Subject: * QMC Raytracing This introduces QMC sampling for use in glossy reflections/refractions, soft raytraced shadows, and ambient occlusion. This work includes many new features and speed-ups, so check out the nice docs here: Glossy Reflection/Refraction http://www.blender.org/development/current-projects/changes-since-244/glossy-reflectionrefraction/ Raytraced Soft Shadows http://www.blender.org/development/current-projects/changes-since-244/raytraced-soft-shadows/ QMC Sampling http://www.blender.org/development/current-projects/changes-since-244/qmc-sampling/ Many thanks to Brecht van Lommel for some initial code snippets and for reviewing the patch, and especially to Alfredo de Greef who gave me a lot of guidance and help along the way! --- source/blender/blenkernel/intern/world.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/world.c') diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c index ce41720cb9d..625ca57dbf3 100644 --- a/source/blender/blenkernel/intern/world.c +++ b/source/blender/blenkernel/intern/world.c @@ -98,10 +98,12 @@ World *add_world(char *name) wrld->exp= 0.0f; wrld->exposure=wrld->range= 1.0f; - wrld->aodist= 10.0; + wrld->aodist= 5.0; wrld->aosamp= 5; wrld->aoenergy= 1.0; wrld->aobias= 0.05; + wrld->ao_samp_method = WO_AOSAMP_HAMMERSLEY; + wrld->physicsEngine= WOPHY_BULLET;//WOPHY_SUMO; Bullet by default wrld->preview = NULL; -- cgit v1.2.3