forked from arbor-sim/gui
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
arb::pwlin can return an arb::msegment{id, p', q'} describing a subsection of the 'original' segment (id, p, q) such that
p' = q + u(q - p) and q' = p + v(q - p) for u, v: [0, 1].
At the moment, the renderer just inspects the id and returns the full segment regardless of any points.
Idea
- Add a field
fto all points in the renderer that is0on the proximal and1on the distal end. Ensure linear interpolation. - Pass a pair
(u, v)to each frustrum when rendering based on the fractions above. Ensure constant. - In the fragment shader
discardif notu < f < v.
Issues
- Need to compute
(u, v)from(p, q, p', q') - Quite wasteful; usually we will show full segments, but have added 4 floats to each point
See: NeuroML/NeuroML2#144
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request