[Sidefx-houdini-list] random rotation inside for each loop

David Johnson daveinengland at gmail.com
Wed Feb 17 13:03:40 EST 2016

I think the problem is in the $PR. If you use a Primitive SOP, and put
your expression in the rotate parameters, you'll get a different
result on each primitive. But inside a foreach loop, you might be in
VEX context where $PR doesn't evaluate. Or are you using a ForEach
SOP? I don't really understand that SOP, so I can't help you there.


On 2/17/16, Zoran Arizanovic <zoran.arizanovic at gmail.com> wrote:
> hi
> i am using
> fit01(rand($PR+seed),-180,180)
> inside for each on transform for each primitive
> I would like random rotation for each for each $PR
> but it looks all the same
> what am I doing wrong
> thanks
> Zoran Arizanovic
> LinkedIn <http://www.linkedin.com/pub/zoran-arizanovic/4/177/295>
> _______________________________________________
> 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