((double) whiteXChromaticitySlider.getValue()) / (double) MAX_CHROMATICITY_SLIDER_VALUE,
((double) whiteYChromaticitySlider.getValue()) / (double) MAX_CHROMATICITY_SLIDER_VALUE,
Math.pow(2.0, whiteLuminanceSlider.getValue()));
}
return new LinearToneMapper(white.toXYZ());
}
public static void main(String[] args) {
JFrame frame = new JFrame();
JLinearToneMapperPanel factory = new JLinearToneMapperPanel();