Skip to content

refactor: move render scale histogram parameters: bin size, num bins, scale origin, to constructor#1060

Draft
seankmartin wants to merge 1 commit into
google:masterfrom
MetaCell:refactor/render-scale-widget-params
Draft

refactor: move render scale histogram parameters: bin size, num bins, scale origin, to constructor#1060
seankmartin wants to merge 1 commit into
google:masterfrom
MetaCell:refactor/render-scale-widget-params

Conversation

@seankmartin

Copy link
Copy Markdown
Contributor

Previously these were all fixed constants. Then when volume rendering was introduced we made the origin be a constructor param to the render scale widget and the histogram stats. Here, we propose to make the bin size, number of bins and the scale origin all parts of the render scale histogram, and then have the render scale widget directly use all of these public attrs of the render scale histogram.

The intent here is to functionally change nothing. But it would allow the volume rendering origin change to be cleaner. And in the future we are consider to propose a different cap on the number of volume rendering samples, at which point these parameters will be adjusted for that purpose.

previously these were all fixed constants. Then when volume rendering was introduced we
made the origin be a constructor param to the render scale widget and the histogram
stats. Here, we propose to make the bin size, number of bins and the scale origin all
parts of the render scale histogram, and then have the render scale widget directly use
all of these public attrs of the render scale histogram.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant