|
|
How can I easily modyfi colors in HDRI image?
More exacly - I can not have 100% white background in render, so I want to
convert RGB > .95 .95 .95 into .95 .95 .9x so that bright white will
became bright-blue.
If there isnt any other way I can postprocess final image, but maybe...
Btw - it would be greate to specify in addition to
no_image / no_reflection / no_shadow a parameter no_radiosity and
only_radiosity
that will allow i.e. to create extreamly bright object (for radiosity
calculations) that yet will not be so bright when looking at it
// to lightup sorroundings:
sphere { 0 1 finish { ambient 10000 } only_radiosity }
// this will be visible
object { MyLamp texture {...} no_radiosity }
I assume that sphere is a little bigger then lamp so lamp will not block
it, but maybe an additional no_radiosity_shadow would also help ?
object { MyLamp texture {...} no_radiosity no_radiosity_shadow }
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|