occt: master 66d1cdc6
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | apn | master | 2019-02-06 16:21:23 | master e607bd3e |
Affected Issues | 0030483: Visualization, Path Tracing - make Tile Size configurable | |||
Changeset | 0030483: Visualization, Path Tracing - make Tile Size configurable OpenGl_TileSampler has been refactored to better describe its logic: - Offset image now defines tile index instead of offset to tile origin. - Added 2D array defining the number of times to sample tile for straight-forward debugging. Graphic3d_RenderingParams has been extended with property RayTracingTileSize for testing various tile configurations. Default behavior is the following: - Target number of tiles (e.g. upper limit per frame): 256 - Tile size: 32x32. OpenGl_View::runPathtrace() has been split into two methods per rendering stage. OpenGl_Texture::Init() now returns FALSE immediately on 0 input dimensions. Added Image_PixMapTypedData template class allowing to work with image data of known pixel format. |
|||
mod - src/Graphic3d/Graphic3d_RenderingParams.hxx | Diff File | |||
mod - src/Image/FILES | Diff File | |||
mod - src/Image/Image_PixMapData.hxx | Diff File | |||
add - src/Image/Image_PixMapTypedData.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_Texture.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_TileSampler.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_TileSampler.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View.hxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_Raytrace.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_View_Redraw.cxx | Diff File | |||
mod - src/Shaders/Display.fs | Diff File | |||
mod - src/Shaders/RaytraceBase.fs | Diff File | |||
mod - src/Shaders/RaytraceRender.fs | Diff File | |||
mod - src/Shaders/Shaders_Display_fs.pxx | Diff File | |||
mod - src/Shaders/Shaders_RaytraceBase_fs.pxx | Diff File | |||
mod - src/Shaders/Shaders_RaytraceRender_fs.pxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File |