Monday, March 19, 2007

Pointbased Occulsion

在Renderman的rsl function列表中,
但是他確是使用pointcloud based occlusion不可或缺的設定。
In Rendernman rsl function document,
you can't see nothing about pointbased description at occulsion part.
It's very important when using pointcloud based occlusion.

如果你已經將area資訊bake到ptc檔案中的__area channel,
可以使用occlusin(P, N, samples, "filename", "xx.ptc", "pointbased", 1, ....);
If you have calculate area value and using bake3d to store it in a ptc "__area" channel.
When having a ptc file which stored area() information in __area channel(using bake3d function),
you can get pointcloud occlusion value by occlusion(P, N, samples, "filename", "xx.ptc", "pointbased", 1, ....).
This way will reduce image sequence flick.

No comments: