How to use foreach sop?
3362 5 1- newPeak
- Member
- 83 posts
- Joined: Dec. 2005
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
circusmonkey
I asked this a while ago ( no reply ), I copied one of the examples and could not get it to work ………..
Just checked both examples and they both work at least in H9.5.211. ForEach works on:
- primitive attribute basis (process input geometry grouped by equal attribute value)
- primitive group basis (process every primitive group separately)
(notice group mask parameter which is empty by default and need at least “ * ” to do anything)
- user defined number basis (thus you can proceed arbitrary action on a whole geometry x number of times)
Here is group and arbitrary number examples (sorry, not very spectacular)
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
Thanks so much for the example. still confused …
There's an example on the cmi effects td vidoe , where peter uses a clip sop to cut up geometry. Apart from the fact what hes copying from the foreach sop in the video doesnt exist in Houdini ….. everything would be good.
what ever I do I get
Error: “ Invalid source foreach1:each1.”
r
There's an example on the cmi effects td vidoe , where peter uses a clip sop to cut up geometry. Apart from the fact what hes copying from the foreach sop in the video doesnt exist in Houdini ….. everything would be good.
what ever I do I get
Error: “ Invalid source foreach1:each1.”
r
Gone fishing
- Pagefan
- Member
- 519 posts
- Joined:
- Offline
-
- Quick Links