-
- Downloads
let pathtracers use either backplate or environmental light or both
The backplate is like standard rendering's background. It does not move with the camera and it does not affect the appearance of objects in the scene. The environmental map moves with the camera and affects the appearance of objects in the scene. It is like VTK's newer SkyBox, with material effects turned on. SetBackgroundMode let's you choose which behaviour, or both. The case of using neither (to get a translucent background) is setable but has not been proven out in practice yet. The environment mode controls (color, gradient, texture) have new methods on vtkRenderer but these have no effect on standard rendering. Likewise SkyBox mode is not respected by the pathtracer. Unifying both of these has yet to be done. The default for the pathtracer was changed to use backplate and disable environment lighting. This makes default object brightness similar to standard VTK.
Showing
- Rendering/Core/vtkRenderer.cxx 13 additions, 0 deletionsRendering/Core/vtkRenderer.cxx
- Rendering/Core/vtkRenderer.h 16 additions, 0 deletionsRendering/Core/vtkRenderer.h
- Rendering/Core/vtkViewport.cxx 10 additions, 0 deletionsRendering/Core/vtkViewport.cxx
- Rendering/Core/vtkViewport.h 32 additions, 0 deletionsRendering/Core/vtkViewport.h
- Rendering/RayTracing/Testing/Cxx/TestCategoricalMaterials.cxx 4 additions, 3 deletions...ering/RayTracing/Testing/Cxx/TestCategoricalMaterials.cxx
- Rendering/RayTracing/Testing/Cxx/TestCategoricalMultiBlock.cxx 4 additions, 3 deletions...ring/RayTracing/Testing/Cxx/TestCategoricalMultiBlock.cxx
- Rendering/RayTracing/Testing/Cxx/TestOSPRayTiling.cxx 4 additions, 3 deletionsRendering/RayTracing/Testing/Cxx/TestOSPRayTiling.cxx
- Rendering/RayTracing/Testing/Cxx/TestPathTracerBackground.cxx 8 additions, 7 deletions...ering/RayTracing/Testing/Cxx/TestPathTracerBackground.cxx
- Rendering/RayTracing/Testing/Cxx/TestPathTracerMaterials.cxx 3 additions, 2 deletionsRendering/RayTracing/Testing/Cxx/TestPathTracerMaterials.cxx
- Rendering/RayTracing/vtkOSPRayRendererNode.cxx 214 additions, 28 deletionsRendering/RayTracing/vtkOSPRayRendererNode.cxx
- Rendering/RayTracing/vtkOSPRayRendererNode.h 11 additions, 0 deletionsRendering/RayTracing/vtkOSPRayRendererNode.h
Loading
Please register or sign in to comment