hello all..I have a problem with point-based color-bleeding...
I create two shaders...first write "test.ptc" file:
surface ptc( string ptc_file="test.ptc";)
{
normal Nf = faceforward(normalize(N),I);
bake3d(ptc_file, "", P, Nf,"coordsystem", "world", "interpolate", 1);
Ci=Cs;
}
and second read "test.ptc" for the use in a indirectdiffuse function:
surface ind_shader( color Kd = .5; string ptc_file = "";)
{
normal Nf = faceforward(normalize(N),I);
color Dif = diffuse(Nf)*Kd;
color IndDif = indirectdiffuse(P,Nf,
0,"filename",ptc_file,"pointbased",1);
Ci = Dif + IndDif;
Oi = Os;
}
but after render...I don`t see any indirectdiffuse in the picture )))
where did I make an error? anybody help me :)


|