[Sidefx-houdini-list] Point clouds

François Duchesneau sidefx at trinix.ca
Thu Apr 2 11:42:46 EDT 2009


Every node should have at least one example file. I'll try to create 
something for you. Maybe I can post it on the Exchange.

François

Andy Nicholas wrote:
> Hi François,
> I had a look at the help cards for pcopen and pcfilter but they're using
> VEX code. I'm trying to get something to work with the VEX nodes. If I
> hook up some nodes in a way that corresponds with the VEX code I get
> nothing, even though the code generated by the VEX network looks extremely
> similar to the example VEX code. Maybe I'm doing something wrong, but I
> don't think so.
>
> I do have a vague memory of seeing a post a while ago where the pointcloud
> VEX functions worked, but the corresponding VEX nodes don't. Is that true?
>
> Incidentally, there isn't any help provided for any of the VEX point cloud
> nodes. I know they're essentially the same, but without help cards for
> them, we aren't going to get any example scene files either. I've heard
> great things about using point clouds and it'd be great to get some better
> documentation and example scenes for them.
>
> Thanks for your help
>
> Andy
>
>
>
>   
>> Usually what I do is look at the example in the help of pcopen or
>> pcfilter and it gives you an example of how to open it and extract data
>> out of it.
>>
>> In you case you will probably need "point.distance" keyword in pcimport.
>> For the rest, you can create any point cloud with the Scatter Sop and
>> write any custom attribute you want. I don't know if it's better to use
>> a .pc format but I've always saved that to .bgeo and it works fine.
>>
>> Test it out with a simple shader that extract the distance and pipe it
>> to Cf before going into the Voroinoi coding.
>>
>> François
>>
>> Andy Nicholas wrote:
>>     
>>> Hi,
>>> Can anyone help, I need to get get point clouds working with a shader
>>> but
>>> so far I've been unable to make it work. All I want to do is to be able
>>> to
>>> create a Voronoi cell type pattern based on the point cloud. It should
>>> be
>>> simple.
>>>
>>> I had a look at the example on the Odforce Wiki, but it doesn't work
>>> either. Does anyone know of a tutorial or example of a simple point
>>> cloud
>>> shader working?
>>>
>>> Thanks a lot
>>>
>>> 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