[Sidefx-houdini-list] Point clouds
sidefx at trinix.ca
Fri Apr 3 09:09:22 EDT 2009
What are you trying to do exactly with Cop and point cloud because I'm
not sure it's logical to sample 3d point in the cloud to a flat texture
In Cop you're sampling pixel, so you'd have to convert x and y into a
vector, leaving the z to a constant value. All this should fit to the
world space of P but again I'm not sure all this makes sense.
Andy Nicholas wrote:
> Sorry to have to hassle you guys some more, but I'm still having some
> issues with making a COP version work.
> The Point Cloud Open VOP seems to be generating some dodgy VEX. It's using
> P where it hasn't been defined yet and so complains of an "Undefined
> Symbol: 'P'". The offending VEX line is this one:
> VOPpoint pcP = 1 != 0 ? vec : P;
> François, I think your example in the shader worked okay because of P
> being a global variable in the SHOP context? But in COPs this isn't the
> case, and it fails. I also tried the COP example that Mario provided, and
> I got the same error.
> So I'd be really grateful if anyone else can repro the issue, and/or know
> how to fix it.
> Thanks again
> P.S. Sorry if this mail comes through again. The last one was being held
> for moderation and I wasn't able to cancel it. The "cancel" link didn't
> work for some reason.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list