|
|
Also, is there a way to speed this up? Right now it's stuck at 6% of the
mosaic phase for an hour. I don't recall UberPOV being this slow. :(
Mike
#declare BlurAmount = 0.2*2; // Amount of blurring, double BlurAmount
since it's used in an average
//#declare BlurSamples = 40; // How many rays to shoot
#declare BlurSamples = 10; // How many rays to shoot
#macro BlurredReflection(InPigment, InFinish, InNormal)
// texture
// {
average
texture_map
{
#declare iCount = 0;
#declare S = seed(0);
#while (iCount < BlurSamples)
[
1 // The pigment of the object:
pigment { InPigment }
// The surface finish:
finish { InFinish }
// This is the actual trick:
normal
{
average
normal_map
{
[1 bumps BlurAmount translate <rand(S),rand(S),rand(S)>*100 scale
1000]
[1 InNormal]
}
}
]
#declare iCount = iCount + 1;
#end
}
// }
#end
Post a reply to this message
|
|