allen-cell-animated / agave

Other
34 stars 6 forks source link

colors in transfer function editor #60

Open toloudis opened 2 years ago

toloudis commented 2 years ago

Use Case

I want to be able to set color gradients based on intensities, using the transfer function editor. In this way, I can view a single channel data source with colors that change according to intensity.

Solution

Make editor taller. Each control point gets a color by double clicking it. Draw color gradient across the widget area, or color the control points. Expand internal LUT implementaton to handle rgba color and the pathtrace shader to sample colors.

toloudis commented 9 months ago

also see #156