15 Commits
Author SHA1 Message Date
Sebastian Herholz 932775bd2f Adding support to use different numbers of NEE samples for the primary and all subsequent diffuse-glossy intersections 2024-06-19 16:50:02 +02:00
Sebastian Herholz e83ca30087 The SciVis render now updates its light list only if needed 2021-05-05 09:14:29 +02:00
Sebastian Herholz 21fa4ce9ba Only update the path tracer's light list if 'related' renderer settings or the world changed 2021-05-05 08:01:38 +02:00
Sebastian Herholz 3f54c903d9 Added OSP_INTENSITY_QUANTITY_SCALE enum to be used for HDRI and sunSky light sources 2021-05-05 15:07:54 +02:00
Sebastian Herholz f0f518d8a5 Adding intensityQuantity to light sources
An 'intensityQuantity' parameter is added to some light sources (e.g., quad, point, spot) to
define the interpretation of the color * intensity value to physical-correct radiative quantities
such as: radiance, radiative intensity or power.
2021-01-21 14:08:26 +01:00
Sebastian Herholz 5d2dfe58d5 Updated upload file for the regression results 2020-09-30 23:23:36 +02:00
Sebastian Herholz a9409614d2 Extending and restructuring regression tests for light sources
We now test different combinations of renderers (e.g., scivis,
pathtracer) for all our light source types (e.g., ambient, distant,
quad, sphere, spot).
All light source regression tests are now part of
apps/ospTestSuite/test_light.cpp and removed from test_geometry.cpp.
Added tests for geometry lights, where the light material is either
defined directly coupled with the geometry or by referencing a material
from the material list of the renderer.
2020-09-30 23:22:36 +02:00
Sebastian Herholz d4c9c25e83 added test for geometric lights
We now check if setting a geometric light using a material reference or
an index to the material list of the renderer works correctly.
2020-07-08 12:39:50 +02:00
Sebastian Herholz 352292f524 Added failsafe check to stochastic light sampling
Added a check if the light list is > 0 when calculating the light selection probability
for geometry lights.
2020-07-08 12:39:50 +02:00
Sebastian Herholz 298bf3ea37 clamping innerRadius to 0.999*radius 2020-07-03 18:34:53 +02:00
Sebastian Herholz b2ea9ec5d4 adding stochastic light sampling based on a uniform light selection probability 2020-07-03 15:46:04 +00:00
Sebastian Herholz 5887e48f5f removed Lambertian behavior from the spot light when using an IES
Since we assume that the cosine falloff is already included in the IES light
distribution function we remove the falloff when the spot light has a radius > 0.
2020-07-03 11:57:34 +02:00
Sebastian Herholz b67b5f418b fixing the non-physical behavior of the spot and point light sources
The color * intensity parametrization is now defined to represent the radian
intensity of the spot or point light source and is converted into radiance, if
radius > 0.
During the conversion the overall emitted power of the light source into the
scene stays the same when the size of the disk or sphere light changes.
Added legacy fix for spot lights (factor 0.5 on radiance) to keep the look
similar.
Added cosine falloff to real spot light (radius=0) to match disk light emission
behavior
2020-07-03 11:47:37 +02:00
Sebastian Herholz 52033d91ff Added regression test for virtual light sources
We are now checking for changes in the behavior of virtual light sources.
The current tests include
- point light sources (i.e., sphere with radius = 0)
- sphere light sources (i.e., sphere with radius > 0)
- spot light sources (i.e., spot with radius = 0)
- disk light sources (i.e., sphere with radius > 0)
- photometric light sources (radius = and > 0)
- quad light
2020-07-03 11:37:25 +02:00
Sebastian Herholz aeeb9c8325 Implementation for pixel filters using filter importance sampling:
- support for Box and Gaussian (analytical importance sampling),
  as well as Mitchel and Blackmann-Harris (LUT sampling)
- filter is an attribute of the Renderer and can be set as
  "pixelFilter" parameter
- ospExample UI allows to switch between the implemented
  filters and to set the used width of the filter
2020-05-18 09:24:19 +00:00