Skip to content
Snippets Groups Projects

Implements #228 adaptive MLS and smoothing channel

Merged Nicolas Pope requested to merge feature/mlssmooth into master
2 files
+ 27
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -282,11 +282,13 @@ static void run(ftl::Configurable *root) {
UNIQUE_LOCK(scene_A.mtx, lk);
// Apply pre-filters to all frames
for (int i=0; i<scene_A.frames.size(); ++i) {
/*for (int i=0; i<scene_A.frames.size(); ++i) {
auto &f = scene_A.frames[i];
auto s = scene_A.sources[i];
prefilter->apply(f, f, s, 0);
}
}*/
prefilter->apply(scene_A, scene_A, 0);
// Send all frames to GPU, block until done?
//scene_A.upload(Channel::Colour + Channel::Depth); // TODO: (Nick) Add scene stream.
Loading