Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Conty Estevez <conty@yafray.org>2004-01-08 14:42:40 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-01-08 14:42:40 +0300
commit234fb27248d044d2eb37c1c2742bfa143e3e60c5 (patch)
tree7ee426b8d9b86b75985730b18438de865f73de23 /source/blender/src/buttons_scene.c
parent6e97d0bcd3abc874ea733d5dcf440fdd098ac43d (diff)
Added export for caustic settings based on the raytrans values. And settings
for casting them from GI (pathlight). A new contro "caus depth" in the panel controls the maximun number of bounces going through objects. Now images like this: http://www.coala.uniovi.es/~jandro/noname/images/causfromblender.jpg are possible with scenes like this: http://www.coala.uniovi.es/~jandro/noname/examples/exp_test2.blend
Diffstat (limited to 'source/blender/src/buttons_scene.c')
-rw-r--r--source/blender/src/buttons_scene.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c
index ce3c84cfcdf..c3697b1f40c 100644
--- a/source/blender/src/buttons_scene.c
+++ b/source/blender/src/buttons_scene.c
@@ -1226,6 +1226,7 @@ static void render_panel_yafrayGI()
if (G.scene->r.GImethod==2) {
if (G.scene->r.GIdepth==0) G.scene->r.GIdepth=2;
uiDefButI(block, NUM, 0, "Depth:", 180,175,110,20, &G.scene->r.GIdepth, 1.0, 8.0, 10, 10, "Number of bounces of the indirect light");
+ uiDefButI(block, NUM, 0, "CDepth:", 180,150,110,20, &G.scene->r.GIcausdepth, 1.0, 8.0, 10, 10, "Number of bounces inside objects (for caustics)");
uiDefButS(block,TOG|BIT|0, B_REDR, "Cache",70,125,89,20, &G.scene->r.GIcache, 0, 0, 0, 0, "Cache irradiance samples (faster)");
if (G.scene->r.GIcache) {
uiDefBut(block, LABEL, 0, "Cache parameters:", 5,105,130,20, 0, 1.0, 0, 0, 0, "");