bazazi
bazazi
About Me
Connect
LOCATION
ウェブサイト
Houdini Skills
Availability
Not Specified
Recent Forum Posts
builds 2005年11月13日10:41
hello. i was just wondering if there is much difference between the different builds? is there alot of difference between 8.0.410 and 8.0.383?
Displaements with ambient occlusion 2005年5月10日17:09
Thanks. That worked like a baby!
Displaements with ambient occlusion 2005年5月10日16:25
surface occlusion(float samples = 64)
{
normal Nn = normalize(N);
float hits = 0;
gather (“illuminance”, P, Nn, PI/2, samples, “distribution”, “cosine”) {
hits += 1;
}
float occ = hits / samples;
Ci = (1 - occ) * Cs * Os;
Oi = Os;
}
This is the shader. I can get it to work by editing the .RIB manually by including the lines:
Attribute “trace” “bias” 0.03
Attribute “trace” “displacements” 1
But i dont know where to find those options in houdini.
{
normal Nn = normalize(N);
float hits = 0;
gather (“illuminance”, P, Nn, PI/2, samples, “distribution”, “cosine”) {
hits += 1;
}
float occ = hits / samples;
Ci = (1 - occ) * Cs * Os;
Oi = Os;
}
This is the shader. I can get it to work by editing the .RIB manually by including the lines:
Attribute “trace” “bias” 0.03
Attribute “trace” “displacements” 1
But i dont know where to find those options in houdini.