glow-extras merge requestshttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests2019-08-30T11:00:08Zhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/54Improve viewer screenshots, add camera orientation option2019-08-30T11:00:08ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deImprove viewer screenshots, add camera orientation option- Added `glow::viewer::camera_orientation` viewer config object, taking in azimuth, altitude and optional distance to center
- Added custom resolution option to screenshot tool
- Background grid hidden in screenshots
- Added Info tab ...- Added `glow::viewer::camera_orientation` viewer config object, taking in azimuth, altitude and optional distance to center
- Added custom resolution option to screenshot tool
- Background grid hidden in screenshots
- Added Info tab to viewer menu display camera info (same format as taken by `camera_orientation`)
- Added "Reset Camera" action to viewer menu, hotkey F3 (resets to position dictated by scene, compatible with interactive mode)Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/53Fix shadow accumulation for first subview2019-07-30T09:57:52ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix shadow accumulation for first subviewPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/52Feature two colored lines2019-07-23T12:48:11ZAaron GrabowyFeature two colored lineshttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/51Prevent unreasonable increase of samples while viewer is converged2019-07-15T18:56:41ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.dePrevent unreasonable increase of samples while viewer is convergedWhile the viewer is converged, low frametimes lead to an increase of adaptive sample amounts. This can in turn cause stutter on the first re-render of the scene. This change caps adaptive sample amounts to the minimum while all subviews ...While the viewer is converged, low frametimes lead to an increase of adaptive sample amounts. This can in turn cause stutter on the first re-render of the scene. This change caps adaptive sample amounts to the minimum while all subviews are converged.Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/50Feature/line shadows2019-07-12T06:29:51ZAaron GrabowyFeature/line shadowsPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/49Dark UI Mode, compact commands2019-07-10T03:03:53ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deDark UI Mode, compact commands- Viewer commands now use std::variant, reducing wasted space for unused command data
- Added the `glow::viewer::dark_ui` configure tag, switching the UI theme to a dark version
- No nesting, any single ViewerApp only has one UI mo...- Viewer commands now use std::variant, reducing wasted space for unused command data
- Added the `glow::viewer::dark_ui` configure tag, switching the UI theme to a dark version
- No nesting, any single ViewerApp only has one UI mode (unspecified ordering if used more than once within the same main command queue)
- Also has a `glow::viewer::dark_ui(false)` version
- Fixed a crash on the Shift + Esc global termination due to a missing AsyncTextureLoader shutdown
- The camera now rests in its initial position instead of smoothing to it on startupPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/48Viewer improvements2019-07-09T13:44:35ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deViewer improvements- Remove `glow::viewer::clear_accumulation()` in favor of a configure tag
- Cache viewer window size and position
- Add option to disable GlfwApp frameskip warnings
- Disable viewer frameskip warnings
- Run interactive lambdas once b...- Remove `glow::viewer::clear_accumulation()` in favor of a configure tag
- Cache viewer window size and position
- Add option to disable GlfwApp frameskip warnings
- Disable viewer frameskip warnings
- Run interactive lambdas once before the first frame to correctly adjust to the scene AABBPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/47Fix Viewer SSAO flickering2019-07-08T10:23:46ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix Viewer SSAO flickeringPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/46Viewer SSAO Fadein2019-07-08T07:47:33ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deViewer SSAO Fadein- Slowly fade in SSAO at very low samples, preventing noise artifacts
Before:
![before](/uploads/9a6b43ae0deb104f7fbbbd29d73e94d2/before.gif)
After:
![after](/uploads/2cc6eb31946740bc7687e7b68d12e61a/after.gif)
This change is not noti...- Slowly fade in SSAO at very low samples, preventing noise artifacts
Before:
![before](/uploads/9a6b43ae0deb104f7fbbbd29d73e94d2/before.gif)
After:
![after](/uploads/2cc6eb31946740bc7687e7b68d12e61a/after.gif)
This change is not noticeable in scenes that render quickly
- Fix GlfwApp crash when pressing Home while the default camera is not usedPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/45Feature/capsule lines2019-07-08T07:48:44ZAaron GrabowyFeature/capsule linesPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/44Fix raii_view_closer move ctor2019-07-05T07:20:23ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix raii_view_closer move ctorCherry pickedCherry pickedPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/43Fix no_ssao viewer option2019-07-01T14:26:26ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix no_ssao viewer option- Fix SSAO still showing despite `uSSAOPower` being zero using a CPU check and a uniform bool
- Disable SSAO calculation if SSAO is disabled- Fix SSAO still showing despite `uSSAOPower` being zero using a CPU check and a uniform bool
- Disable SSAO calculation if SSAO is disabledPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow-extras/-/merge_requests/42Remove unused constants from ViewerRenderer2019-07-01T11:06:28ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deRemove unused constants from ViewerRendererPhilip 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 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/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/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/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/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/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 Trettner