It seems like they've extended the support for arrays in H14, which makes
it now possible to use them as geometry attributes. In the previous
versions I guess that there was no real point (but convenience) in creating
arrays in VOP since you couldn't pass them downstream with the geometry
data.

So if you're on H14+, it seems like you were on the right path? I've
attached a working screenshot that stores every point position in a
“output” vector array attribute.

If like me you're stuck with H13, you probably don't need to store your
point positions in an array at all. Instead, you should be able to just
loop over each point with a `For Loop VOP` and do your computation directly
in there. Now I've never used VOPs since I prefer writing directly in VEX
so I might be wrong :)

Also don't forget to use point clouds if you're after distance-related
queries.


On 2 March 2016 at 19:29, Olivier Jeannel <facialdel...@gmail.com> wrote:

> Hello serious list :)
>
> I'm a bit confused with houdini vop array.
> While I managed to do it in vex, I would like to make a build array (like
> build array from set) of the pointposition (P) in VOP.
>
> I understand you need to for-loop on each Ptnum and probably append the P
> values and this will buid an array of P.
> But you know what ? Well I can't manage to make it work.
>
> I found no example on the net (sideFX, odforce).
> The doc is just words, no schemes, no graphics.
> The examples hips are bizarre, not so simple, and use the old loop node.
>
> So I'm wondering if someone from here could provide a screen shot of how
> that should be connected ?
>
> Thank you :)
>
>
> ------
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>



-- 
Christopher Crouzet
*http://christophercrouzet.com* <http://christophercrouzet.com>
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to