Hi Cristobal,

The node output a single array of pointpositions. So you have to convert the 
array to per point attribute. A getpointid plugged into the select in array and 
them set pointposition will do the trick. Of course you know that the target 
mesh or pointcloud should have same number points as in the pc2 file. Also you 
might need a  switch context node before set pointposition.

In case of an empty pointcloud, it is easier. Just plug the output of the node 
directly into an add points node.


Sent from my iPhone

> On Nov 4, 2013, at 8:13 AM, Cristobal Infante <[email protected]> wrote:
> 
> Hi Alok,
> 
> Thanks again for sharing this tool, we still rely KP pc2 reader so having an 
> alternative is really handy.
> 
> I was guessing "Read PC2 File" > "Set Point Position"?
> 
> But I am getting a structure mismatch, probably doing the wrong thing!
> 
> Thanks,
> Cris
> 
> 
>> On 4 November 2013 05:40, Alok Gandhi <[email protected]> wrote:
>> Ah I see, I was confused when you said " i haven't tried multiple files per 
>> frame (does softimage even export pc2 files this way?)". 
>> 
>> Well in that, sure you can export single file per frame per object through 
>> KP_PointCache manager, you simply have to select the start and end frame as 
>> the same. PC2 file format have the notion of  "samples" rather than frame, 
>> so if you have one sample per frame set then basically you are exporting one 
>> data set (pointpositions) per frame.
>> 
>> 
>>> On Mon, Nov 4, 2013 at 12:26 AM, Steven Caron <[email protected]> wrote:
>>> no one said that you could have multiple objects in the same .pc2 file.
>>> 
>>> 
>>>> On Sun, Nov 3, 2013 at 8:37 PM, Alok Gandhi <[email protected]> 
>>>> wrote:
>>>> I am a little confused...  
>>>> 
>>>> For sure, you cannot have multiple objects in the same .pc2 file, the 
>>>> format simply doesn't support that.
>> 
>> 
>> 
>> -- 
>> 
> 

Reply via email to