@@ -94,9 +94,9 @@ int g_num_ao_rays = 1;
94
94
int g_ao_enabled = false ;
95
95
int g_progressive = false ;
96
96
int g_num_bounces = 5 ;
97
- int g_num_samples = 256 ;
97
+ int g_num_samples = - 1 ;
98
98
int g_samplecount = 0 ;
99
- float g_ao_radius = 1 .f;
99
+ float g_ao_radius = 1 .f;
100
100
float g_envmapmul = 1 .f;
101
101
float g_cspeed = 100 .25f ;
102
102
@@ -363,9 +363,9 @@ void InitData()
363
363
std::cout << " F-Stop: " << 1 .f / (g_scene->camera_ ->GetAperture () * 10 .f ) << " \n " ;
364
364
std::cout << " Sensor size: " << g_camera_sensor_size.x * 1000 .f << " x" << g_camera_sensor_size.y * 1000 .f << " mm\n " ;
365
365
366
- // g_scene->SetEnvironment(g_envmapname, "", g_envmapmul);
367
- // g_scene->AddDirectionalLight(RadeonRays::float3(-0.3f, -1.f, -0.4f), 2.f * RadeonRays::float3(1.f, 1.f, 1.f));
368
- // g_scene->AddPointLight(RadeonRays::float3(0.5f, 1.5f , 0.0f), RadeonRays::float3(1.f, 0.9f, 0.6f));
366
+ g_scene->SetEnvironment (g_envmapname, " " , g_envmapmul);
367
+ g_scene->AddDirectionalLight (RadeonRays::float3 (-0 .3f , -1 .f , -0 .4f ), 2 .f * RadeonRays::float3 (1 .f , 1 .f , 1 .f ));
368
+ g_scene->AddPointLight (RadeonRays::float3 (- 0 .5f , 1 .7f , 0 .0f ), RadeonRays::float3 (1 .f , 0 .9f , 0 .6f ));
369
369
g_scene->AddSpotLight (RadeonRays::float3 (0 .5f , 1 .5f , 0 .0f ), RadeonRays::float3 (-0 .5f , -1 .0f , 0 .1f ), RadeonRays::float3 (1 .f , 0 .9f , 0 .6f ),
370
370
std::cos (M_PI_4/2 ), std::cos (M_PI_4));
371
371
#pragma omp parallel for
0 commit comments