glow-extras merge requestshttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests2019-06-16T18:07:41Zhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/34Feature/capsule lines2019-06-16T18:07:41ZAaron GrabowyFeature/capsule linesThe world space capsule rendering is working now.
This can already be reviewed and merged while I'm still working on the screen space versionThe world space capsule rendering is working now.
This can already be reviewed and merged while I'm still working on the screen space versionPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/33Add screenshot function to Viewer2019-06-15T08:20:21ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd screenshot function to Viewer- Take screenshots with F2, or a menu entry
- Currently does not render UI due to GlfwApps architecture, might not be desirable anyway
- Requires [glow !35](https://graphics.rwth-aachen.de:9000/Glow/glow/merge_requests/35) to c...- Take screenshots with F2, or a menu entry
- Currently does not render UI due to GlfwApps architecture, might not be desirable anyway
- Requires [glow !35](https://graphics.rwth-aachen.de:9000/Glow/glow/merge_requests/35) to correctly output non-mirrored screenshots
- Adjust viewer scrolling speed based on scene scale
- Add "Quit" and "Quit All" option to viewer menuPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/32Fix pipeline shader compilation errors2019-06-04T04:09:18ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix pipeline shader compilation errorsFixed two GLSL compilation errors for AMD drivers, closing issue #14Fixed two GLSL compilation errors for AMD drivers, closing issue #14Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/31Fix compilation for GenericCamera2019-05-27T18:20:32ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix compilation for GenericCamerahttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/30Minor fixes2019-05-27T15:19:21ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deMinor fixes- Fix compiler warnings due to `FLT_MAX` redefintion
- Remove workaround for UBO warnings (requires glow/!32)
- Update Readme- Fix compiler warnings due to `FLT_MAX` redefintion
- Remove workaround for UBO warnings (requires glow/!32)
- Update ReadmePhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/29Fix legacy Camera compilation in debug configurations2019-05-23T17:15:10ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix legacy Camera compilation in debug configurationsSince `GLOW_DEBUG` no longer exists, a few assert helpers were no longer emitted in debug configurations in `GenericCamera.cc`.Since `GLOW_DEBUG` no longer exists, a few assert helpers were no longer emitted in debug configurations in `GenericCamera.cc`.Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/28Increase maximum amount of lights per cluster2019-05-21T05:30:21ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deIncrease maximum amount of lights per cluster- Increased the maximum amount of light-cluster intersections from 20 to 150
- The new clustering data structures afford us these (and way higher) numbers at no significant memory impact, the Light Index List SSBO is the only one af...- Increased the maximum amount of light-cluster intersections from 20 to 150
- The new clustering data structures afford us these (and way higher) numbers at no significant memory impact, the Light Index List SSBO is the only one affected and goes up to just about ~3.5MB at 1440p now. The change was motivated by artifacts in a scene with many lights.Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/27Add bandaid fix for sampler aliasing issue2019-05-16T04:01:32ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd bandaid fix for sampler aliasing issuePhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/26Reverse-Z Pipeline2019-05-20T10:25:38ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deReverse-Z Pipeline- Add a define option to switch the pipeline to reverse-Z mode
- Flipped depth
- Infinite far plane
- Zero-to-one clip space
- Enabled by default
- Improve shadow cascade system
- No longer requires squared came...- Add a define option to switch the pipeline to reverse-Z mode
- Flipped depth
- Infinite far plane
- Zero-to-one clip space
- Enabled by default
- Improve shadow cascade system
- No longer requires squared camera distance in shader, simplified glsl interface
- Fixed circle artifact on cascade edges
- Improved configurability with cascade split lambda in `RenderScene`
- Fix TAA Jitter extent
- From [-1, 1] to [-0.5, 0.5]
- Reduces jittering and blur
- Add imgui utils to glow-extras-debugging
- Add dark and light ImGui "glow theme"
- Enabled in viewer
- Add "Suppress" button to DebugOverlay
- If suppressed, the overlay no longer becomes visible on new OpenGL errors
- Only a call to `ToggleVisibility` (F10) un-suppresses the overlay
- Add viewport output settings to the pipeline
- Use them for multiple subviews in the viewer in favor of a temporary fbo and blitting
- Minor fixes
- Adjust outline normal threshold in viewer
- Fix preprocessor condition for imgui presencePhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/25Add fullscreen options to GlfwContext2019-05-10T05:41:21ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd fullscreen options to GlfwContext- Add fullscreen functionality to `GlfwContext`
- Save window position and size on entering fullscreen to restore the window properly
- Remove fullscreen code from `GlfwApp`
- Add fullscreen support to window size/position disk-cachi...- Add fullscreen functionality to `GlfwContext`
- Save window position and size on entering fullscreen to restore the window properly
- Remove fullscreen code from `GlfwApp`
- Add fullscreen support to window size/position disk-caching in `GlfwApp`
- Rename `internal_sceneUbo` pipeline pragma to `sceneInfo` to convey possible user-side usagePhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/24Visually neutral viewer2019-05-07T14:47:39ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deVisually neutral viewer- Restructure pipeline internals to use a single UBO with render scene information
- Restructure render scene parameters
- Add render scene option to toggle tonemapping
- Disable tonemapping in Viewer, neutralize all postprocessing options- Restructure pipeline internals to use a single UBO with render scene information
- Restructure render scene parameters
- Add render scene option to toggle tonemapping
- Disable tonemapping in Viewer, neutralize all postprocessing optionsPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/23Move default environment map to glow-extras-material2019-05-05T19:04:50ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deMove default environment map to glow-extras-materialFixes #10Fixes #10https://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/22Improve pipeline Light input2019-05-05T08:13:30ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deImprove pipeline Light input- Removed lights from `RenderScene`, replaced by a gather callback
- Removed `SharedLight`
- Moved light bounding sphere calculation to the GPU, reducing packed light size to 3 `vec4`s
- Updated pipeline guide- Removed lights from `RenderScene`, replaced by a gather callback
- Removed `SharedLight`
- Moved light bounding sphere calculation to the GPU, reducing packed light size to 3 `vec4`s
- Updated pipeline guidePhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/21Add missing include for MSVC2019-05-04T07:36:28ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd missing include for MSVCAdd a missing `<Windows.h>` include for `LARGE_INTEGER`, everything else is clang formatAdd a missing `<Windows.h>` include for `LARGE_INTEGER`, everything else is clang formatPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/20WIP: Feature/jk dev2019-05-03T20:03:41ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deWIP: Feature/jk dev- Remove unused and unnecessary passthroughs in viewer shaders
- Remove no longer required arguments from pipeline shader helpers
- Add (internally unused) virtual `performImgui` method to viewer renderables
- Snap camera on viewer st...- Remove unused and unnecessary passthroughs in viewer shaders
- Remove no longer required arguments from pipeline shader helpers
- Add (internally unused) virtual `performImgui` method to viewer renderables
- Snap camera on viewer startup
- Add sphere rendering mode to viewer (WIP)
- Rename `Camera` to `SmoothedCamera`
- Fix initialization order issues in `GlfwApp`
- Add window size caching to `GlfwApp` (Window size and position are persistent across restarts)https://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/19Feature/line caps2019-04-25T18:27:49ZAaron GrabowyFeature/line capsPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/18allocAtLeast Pipeline, Viewer Outline2019-04-16T14:10:13ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deallocAtLeast Pipeline, Viewer Outline- Change all pipeline target allocations to `allocAtLeast`, significantly improving multi viewer performance
- Adapt various pipeline features to work with oversized targets
- Remove previous SSAO option (SAO) for maintainability reaso...- Change all pipeline target allocations to `allocAtLeast`, significantly improving multi viewer performance
- Adapt various pipeline features to work with oversized targets
- Remove previous SSAO option (SAO) for maintainability reasons
- Add optional edge outline effect based on normal and depth discontinuities
- Enabled by default in Viewer (**WIP:** Looks)
- Move OpenGL debug group CMake option to global CMakeLists, respect option in Viewer
- Add Viewer ImGui menu bar
- Add method to `RenderPipeline` to de-allocate all internal targets (leading to possible resizes on next render)
- Add option to `StageCamera` to enable / disable TAA history rejectionPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/17Fix compilation of glow-extrras-glfw without Imgui2019-04-09T15:53:13ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix compilation of glow-extrras-glfw without ImguiFixes #13Fixes #13Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/16Expand gitignore2019-04-09T15:52:52ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deExpand gitignoreAdd rules for VS Code, Qt Creator and C++ objectsAdd rules for VS Code, Qt Creator and C++ objectsPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/15Expand TAA shader, improve postprocessing order2019-04-09T06:02:43ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deExpand TAA shader, improve postprocessing order- Add various (unused) TAA shader configuration options to possibly improve / change stability, improve performance
- Perform sharpening before tonemapping and more importantly before dithering- Add various (unused) TAA shader configuration options to possibly improve / change stability, improve performance
- Perform sharpening before tonemapping and more importantly before ditheringPhilip TrettnerPhilip Trettner