Sphinx.
![]() |
It would be useful if we could work with data from previous iterations. I'm thinking about some sort of History slave here. It could have to general modes:
Absolute: You specify an iteration index and the given result at that iterations data is always present. Relative: You specify a negative offset (and maybe even positive?) from the current iteration. (Yet another approach would be to add some sort of post "Extract Iteration" component, but that has other impractical implications, like it would only work with the Loop component) |
|||
Posted: April 1, 2013 5:04 am | ||||
Indigo Ray
![]() |
So basically, you're doing a loop, and every time you go through the loop, you save the current result in a list? Then after the loop is finished, you can access each list item (each iteration) separately, as many as you want (unlike the iteration preview, which only shows one, and can't be controlled outside of the filter editor)?
|
|||
Posted: April 1, 2013 10:26 pm | ||||
Sphinx.
![]() |
Yes, thats pretty much it.
![]() |
|||
Posted: April 2, 2013 1:43 am | ||||
Vladimir Golovin
Administrator |
Are you talking about the accumulated result of that iteration? That is, the contents of the Accumulated input of the Loop for that iteration? |
|||
Posted: April 2, 2013 9:03 am | ||||
Sphinx.
![]() |
Yes, its actually very close to what you have now with the Accumulated iteration preview functionality.
|
|||
Posted: April 2, 2013 9:20 am | ||||
Vladimir Golovin
Administrator |
So basically you want a slave component similar to Accumulated but able to output the accumulated result of any previous and future iteration (which, BTW, are not calculated yet) of the Loop? And probably an Integer or Map input on that slave that lets you set the iteration you want to retrieve?
|
|||
Posted: April 2, 2013 9:26 am | ||||
Sphinx.
![]() |
Yes, however the need originally occurred "post loop", that is, I needed the loop accumulation from the second last step (as a part of the smooth Julia / Mandelbrot algorithm). But I can think of other uses, and also being able to get the previous loop data *inside* the loop block could be useful (differential, sigma and cubic calculations are just a few examples - I'm sure ThreeDee would chime in here for his path stuff)
|
|||
Posted: April 2, 2013 10:28 am | ||||
ThreeDee
![]() |
I don't think that future iterations would be needed.
Although there are other ways of doing it, making an animation that "draws" the final image frame by frame (frame = iteration step) would be easier -- a nice side effect of this idea. In some cases you could also retrieve portions of the complete image by blending with difference mode. At least from paths. ![]() |
|||
Posted: April 2, 2013 10:53 am | ||||
Vladimir Golovin
Administrator |
If we disregard rendering time, could this be (crudely) solved by grouping the entire loop, adding a group input for the Iteration count, instancing the group and reducing the Iteration count for the second instance by one? This way, the first instance would provide the output of the fully executed loop, and the second instance the second last step. |
|||
Posted: April 5, 2013 9:13 am | ||||
Vladimir Golovin
Administrator |
BTW, Sphinx, what's Njyldgarkn?
![]() Rot13 returns nonsense. |
|||
Posted: April 5, 2013 9:15 am | ||||
Sphinx.
![]() |
Hehe - something ThreeDee came up with: http://www.filterforge.com/forum/read...sage118881
I believe it is an adjective describing a property of a subject such that "X is of extreme importance to the majority, the cumulative waiting time spent during their life spans and the finally the CO2 pollution (and thereby the rainforests) , yet it is under prioritized by the authority responsible for X" |
|||
Posted: April 7, 2013 7:21 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+19 new in 30 days!
153,534 Posts
+31 new in 30 days!
15,348 Topics
+72 new in year!
25 unregistered users.