h3rb / openshadinglanguage

Automatically exported from code.google.com/p/openshadinglanguage
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Spectral information in the OSL process. #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I hope this is the appropriate forum to make such requests.

I would like to propose the ability to describe spectral information in the OSL 
pipeline,  along with color information. Is this already possible? It seems 
that this would be an important option since RGB is such a limited gamut of 
colors, and I think that working with wavelengths will become the standard, as 
raytracing begins to take over. This is not about being physically accurate, 
but more about greater precision and level of control. And would allow both 
spectral and non spectral renderers to use the shaders.

I am sure there are work arounds which I would love to know more about. But I 
would imagine that looking at this now would be better than patching it on five 
years down the road. I also would imagine that this would be a long term goal. 

I imagine a great implementation would be to allow someone to specify any wave 
length of light include 3 parts.

1) The ability of the OSL to define closures and other elements in terms of 
radiant energy for a particular wavelength (and how wide that wave length is).
2) The ability to specify a global (or maybe local) rule for converting between 
traditional colorspaces and spectral information for textures and processing.
3) Finally the ability for a camera to have a way to describe how it will read 
spectral data, and interprete it into a traditional color space.

Original issue reported on code.google.com by niveri...@hotmail.com on 25 Jul 2011 at 5:15

GoogleCodeExporter commented 9 years ago
The project has moved to github. We already have a filed issue on this topic 
there:

https://github.com/imageworks/OpenShadingLanguage/issues/10

Original comment by cku...@gmail.com on 25 Jul 2011 at 5:32