glow-extras merge requestshttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests2019-05-05T08:13:30Zhttps://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/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/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/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/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/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/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/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/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/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/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/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/35Add option to disable lighting for non-sphere viewer points2019-06-24T06:28:27ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd option to disable lighting for non-sphere viewer pointsPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/36New Viewer Renderer2019-06-26T16:14:04ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deNew Viewer RendererPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/37Add scoped viewer configuration2019-06-27T13:53:49ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd scoped viewer configurationPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/38Add missing config impl structs2019-06-27T14:35:15ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd missing config impl structsPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/39Fix viewer crash for small meshes2019-06-28T05:45:10ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix viewer crash for small meshesPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/40More viewer settings2019-06-28T12:14:55ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deMore viewer settingsBuilds upon !39
- Added identity `make_renderable`, allowing for `view(any_renderable)`
- Added options: `no_outline`, `no_ssao`, and `ssao_power`
- Fixed crash on double MMB
- Added option to globally register fonts for use with ...Builds upon !39
- Added identity `make_renderable`, allowing for `view(any_renderable)`
- Added options: `no_outline`, `no_ssao`, and `ssao_power`
- Fixed crash on double MMB
- Added option to globally register fonts for use with glow-extras-vector text rendering
- Each ViewerRenderer loads all registered fonts into its own VectorRenderer
- `viewer::global_add_vec2d_font(name, path)` and `global_clear_vec2d_fonts()`Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/41Interactive Viewer2019-06-29T14:06:34ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deInteractive Viewer- Viewer
- Restructure viewer internals to use command queues
- Add `glow::viewer::interactive`
- Adapt SSAO and Shadow samples per frame based on frametime
- GlfwApp
- Move ImGui execution in front of rendering
...- Viewer
- Restructure viewer internals to use command queues
- Add `glow::viewer::interactive`
- Adapt SSAO and Shadow samples per frame based on frametime
- GlfwApp
- Move ImGui execution in front of rendering
- Add current render delta time getter
- Add last CPU and GPU time gettersPhilip TrettnerPhilip Trettner