So I went through Peter's cool tutorial at:
http://www.sidefx.com/images/stories/tutorials/spring_sop/4.chops_animation_curve.mov [sidefx.com]
which extracts a curve from a NURBs surface and uses CHOPs to animate a sphere along it.
I figured this would be an interesting thing to expand to an arbitrary number of curves and spheres using the ForEach SOP, but it doesn't seem to work. Basically when I put the CHOPnet into the ForEach SOP it only seems to cook the CHOPnet for the first iteration, meaning all the spheres are moved along the first curve only.
If I do the exact same setup but use a “point” expression in the subnet to animate the spheres, rather than an exported CHOPs channel, it works great. See attached file.
Am I doing something wrong? Should this work?
Thanks
CHOPnet cook within ForEach problem
3415 0 0- johner
- Staff
- 823 posts
- Joined: July 2006
- Offline
-
- Quick Links