BlueBrain / Livre

Large-scale Interactive Volume Rendering Engine
https://bluebrain.github.io
GNU Lesser General Public License v3.0
32 stars 21 forks source link

Sort-last support #200

Open eile opened 8 years ago

eile commented 8 years ago

Generic feature issue to track support of the sort-last implementation in Livre.

eile commented 8 years ago

@egparedes @bilgili FYI

eile commented 8 years ago

Decomposition strategy

Based on visible rendering set

Select all visible nodes, and then split them according to range.

Pros:

Cons:

Based on tree layout

Statically partition the octtree according to the position and size of the brick in its level

Pros:

Cons:

eile commented 8 years ago

@egparedes: orderFrames in a219d44 has to be implemented correctly with the convex rendering sets.

eile commented 8 years ago

Sub-decomposition of non-convex rendering subsets

Equalizer API

New:

Channel::framePass( const RenderContext& ctx ) [name TBD] Add tasks to RenderContext Default impl: call clear, draw, readback as given by ctx.tasks and getOutputFrames() Livre impl: call Super::framePass( ctx.subRange( )) for each convex set

Changed:

Channel::_frameTiles refactor into tile fetch logic and new framePass( ctx ) method

egparedes commented 8 years ago

A first draft of the multipass implementation in Equalizer can be reviewed here: https://github.com/egparedes/Equalizer/tree/multipass

Right now, it is only working in the trivial case with only one local process, but the refactoring itself should be more or less finished.