Copy link to clipboard
Copied
Hey guys. Is there a way to do some iterate (for each) with some ordinary nodes like directional warp? I only find iterate node in fx-map, but how can it work with direcional warp? I don't want to rebuild the existed node in fx-map myself, i think it's a waste of the existed resource. So, can anyone help me? Appreciate it.
Copy link to clipboard
Copied
Unless you fully know the internal workings of 'Designer' I don't think you can easily conclude that one approach will require more resources than the other. In fact.. I'd even argue that if we could use an iteration then it would only add up to what would otherwise be an x amount of "warps", because one way or the other you'd always need to go through all the warp cycles.
Therefor, as far as I know your best option here is to duplicate the node with Control-D and then add it to your node sequence. Repeat when needed. Not only do I doubt that this gobble up much more resources, it will also make it much easier to customize the graphic in the future because it'll be much more clear what is happening.
Many sections of Designer require a different way of thinking because they don't behave as more commonly known programming or scripting environments.
Hope this could help!
Copy link to clipboard
Copied
thanks. and my next question is that, how can I do hundreds of iterations with directional warp node under some programming rules? Is there a way? Appreciate it.
Copy link to clipboard
Copied
First I'd carefully reconsider if you really need to apply so many changes / operations, it seems a bit excessive to me. Of course that's also easy to say for me considering that I don't know the context, I'm not trying to insinuate that you may be doing something "wrong" (to be honest I don't believe such a thing really exists in Designer).
Anyway.... My guess would be scripting, so using Python. Here is the API documentation which I've found. Unfortunately I cannot say for sure if this is going to work or not because I never worked with this myself so far.
Still hope this can help!
Copy link to clipboard
Copied
Thank you so much. Honestly speaking, i'm a green hand in Designer and I'm a big fan of houdini, so I always want to do some programming like what I usually do in houdini. Thanks for your suggestion!