Hi Okan! Hi George!
I tried Pixie 1.4.3: improvements and fixes are nice, but environment map bug is still here.
(Ambient Occlusion with Environment Map)
Sorry about that, missed out that one.
Both occlusion() and indirectdiffuse() now support the environment map directly. Ie.
float occ = occlusion(P, Ns, samples, "environmentmap", envmap,
Will give you irradiance (surface color only, single bounce) which includes the environment lookups.
I noticed that PRMan has a "environmentcol",col argument to occlusion which returns the environment color only, not the occluded hit colors (as "irradiance" does) if that's any use to you, I'll probably add it for the next release. For now, it is possible to retrieve a smoother result (though affected by occluding object colors) using the environment map in occlusion() .. I'll also try to fix the environment lookup issue for next time.
Log in to post a comment.