[Sidefx-houdini-list] copy_stamp_order

herman02 at netvigator.com herman02 at netvigator.com
Mon Apr 23 04:17:53 EDT 2018


Great thanks! it works for %4 
still working on sin/cos, I got 111122223333444411112222333344444 instead of 12344321

----- Original Message -----
From: "Nikita Musatov" <not.a.whale at gmail.com>
To: sidefx-houdini-list at sidefx.com
Sent: Monday, April 23, 2018 3:21:35 PM
Subject: Re: [Sidefx-houdini-list] copy_stamp_order

You have to use something like detail("../foreach_begin1_metadata1",
"iteration", 0))%4 or other math expression like sin, cos and etc

On Mon, Apr 23, 2018, 09:50 <herman02 at netvigator.com> wrote:

> hi all,
>
> I have 4 objects say 1,2,3,4 and link to a switch sop, how to I stamp in
> on a grid with the order say 1,2,3,4,1,2,3,4 or 1,2,3,4,4,3,2,1 and so on?
>
> The most commonly use are rand expression at the switch sop -
> rand(detail("../foreach_begin1_metadata1", "iteration", 0))*+1
>
> But I would like to control the order.
>
> Thanks.
>
> Herman
>
>
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>
_______________________________________________
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