[Sidefx-houdini-list] Point clouds

François Duchesneau sidefx at trinix.ca
Fri Apr 3 10:38:37 EDT 2009

I'm pretty sure it still works. Have you rebake your point cloud because 
when I had a quick look at one of the example it said the ifd format had 
to be converted because it was created in an old version. Maybe it's the 
same thing about point cloud files.

Try it with the simplest test possible like the one I sent to you. The 
only difference is to plug into P the X and Y that have been converted 
with a Float To Vector Vop (x into x, y into z and leave the y input to 
0 if your grid lies on the x,z plane) and after a Fit Vop to make sure 
the values goes from -5 to 5 for example if your grid has the default 
size of 10.

I haven't tested it but it should work I think.


Andy Nicholas wrote:
> Yep, that's exactly what I'm trying to do, and it's presented as an
> example called "pcComp" in the set of examples that Mario linked to
> yesterday. Unfortunately, that example doesn't work either.
> After a bit of tweaking, I did manage to get it compiling correctly by
> putting an inline VOP in front of the pcopen and inserting the VEX:
> vector P;
> P=vec;
> That allowed it to compile, but it didn't seem to work beyond that. I just
> ended up with a flat color for the whole image, no matter what I tried to
> do with the coordinates. Like you said, this was taking into account that
> the point cloud was in 3D and the image is in 2D.
> I'd agree, it seems like a strange thing to do to bring the point cloud
> into COPs, but I have my reasons. I need to perform some operations on it
> in COPs and then trace it back out into SOPs.
> Maybe this worked in an earlier version of Houdini, and something's
> changed and broken the COP functionality of the pcopen VOP?
> Cheers
> Andy
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list