surface
bake_areas( uniform string filename = “”, displaychannels = “” )
{
normal Nn = normalize(N);
float a, opacity;
a = area(P, “dicing”); // micropolygon area
opacity = 0.333333 * (Os + Os + Os); // average opacity
a *= opacity; // reduce area if non-opaque
if (a > 0)
bake3d(filename, displaychannels, P, Nn, “interpolate”, 1, “_area”, a);
Ci = Cs * Os;
Oi = Os;
}
but when i try to convert it to otl using slo2otl.py i have error:
Fatal Python error: Py_Initialize: can't initialize sys standard streams
File “C

e 120
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
any ideas how can i import slo shaders in other way ?