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

Jesse Erickson mr.nicey.pants at gmail.com
Wed Feb 17 13:08:35 EST 2016


Local variables are not supported in the Transform Sop, only centroid/bbox
variables. I use a Primitive Vop to do this: build your own matrix and then
use Set Attribute to mult against the "transform" intrinsic.

On Wed, Feb 17, 2016 at 9:36 AM, 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