MakeSpectrum generates reflective spectral power distribution (SPD)
curves for spectrum-based rendering without recourse to a
spectrophotometer. The user submits a color specification, and a spline
is returned. The user can then convert the splines to POV-Ray's native
RGBFT format using other tools, such as Lightsys IV or SpectralRender.
I started this project back in 2014, not being satisfied with
SpectralRender's options for defining colors. But after taking comments
by clipka into consideration, then running into hue calibration issues,
refining the code took me right up to that toothache I've mentioned
before, and development stalled.
I have already posted several images that used an unfinished version of
MakeSpectrum: CGSphere scenes of stacked convex and stacked concave
glass lenses, and a spectral variation of the GemCuts demo. For
chromatic dispersion, nothing beats spectral rendering.
However, in the intervening years it seemed to me that the user
interface was unsuitable for public release. Recently, I decided to
refocus the module in a more goal-oriented direction--that is, to
automatically match the SPDs to the sRGB color system. This addresses
clipka's concerns as well as being more user friendly, but it was not an
idea that I could entertain back while I couldn't find an oral surgeon
on a weekend.
I intend to submit this to the Object Collection when it comes back
online; meanwhile, it is available at:
Post a reply to this message