atabet

atabet

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

writing to point clouds from vops Nov. 15, 2007, 12:50 a.m.

hi,

i can hand code a shader which writes data to a point cloud, but when i try to use the pcexport node in vops, nothing happens.

anyone have an example network i can riff off of?

thanks,
matthew

point cloud based ambient occlusion Oct. 30, 2007, 2:25 a.m.

hi,

thanks for the links!

after checking out the code, it seems like these solutions use pt clouds to cache the results (thus increasing performance) but still require raytracing to calculate the occlusion.

am i misreading this statement?

while (pcunshaded(handle, “irrad”))
{
pcimport(handle, “P”, mp); mp = ow_space(mp);
pcimport(handle, “N”, mn); mn = normalize(ow_nspace(mn));
if (fullirradiance)
{
cl = irradiance(mp, mn, “samples”, samples, “bias”, raybias,
“background”, background);
}
else
{
cl = occlusion(mp, mn, “samples”, samples, “bias”, raybias,
“background”, background);
}
xxx = pcexport(handle, “irrad”, cl);
}

It seems that the occlusion call still uses raytracing, and just stores the results into the irradiance point cloud.

I was wondering if there was a solution which did the following:

* sampled points within a cone
* used ptarea to determine the percentage of the cone each point covered
* based occlusion from that

anyhow, im going to try it out

cheers,
matthew

point cloud based ambient occlusion Oct. 27, 2007, 7:23 p.m.

in case it wasnt clear, i'm looking for a mantra solution to this problem.