I have been trying to get to the bottom of why my Flood Fill node is taking 12+ seconds to process. I compared it to someone else's graph, and the only obvious difference is the bit level of the node. We are both using the latest version of Designer.
We compared our settings for the node and couldn't find any obvious differences. What is going on here, and how might it be corrected? Is there a setting for bit level for individual nodes?
Replies
It'll want to be a float value though I think.
Their tile random is 3 times faster than yours.. different gpu?
Same version of designer?
12 seconds is a really long time - is it actually taking that long to process? It could just be misreporting the time
I'm not sure I follow you about setting the depth to absolute. The lowest option seems to be 8 bits per channel, which is what it was already set to when it was on relative to input.
This is another guy offering another data point:
I can find no obvious difference in settings between the two, except that the older (bottom) node doesn't have anything inside the Instance Parameters section, while the newer (upper) node has a Safety/Speed trade-off drop down. I've tried all three settings for this, and none of the replicate the result or the speed of the older version of the node.
For now I guess I will just have to copy the node from older graphs.
If you contact Allegorithmic support directly they should be able to advise you on what exactly to do.
In the meantime..
You'll be able to find the original flood fill node in the install directory where the rest of the packages are stored. They don't delete the legacy nodes, they just hide them from the library so you can either unhide it or put it into a custom node of your own.
Also
Setting the depth to absolute forces the bit depth, leaving it on relative to input means it inherits the input bit depth regardless of what the UI says. this is assuming it hasn't been forced to 32f inside the floodfill node (not unlikely)
It appears to work ok at c16f - You can make a 16f version by taking copies of flood_fill and flood_fill main and setting their bit depths appropriately.
You'll be sacrificing precision of course but at 2048 the 16f version appears to processes twice as fast as the 32f version.
This was tested with a 1080 in some sort of stupidly overpriced Xeon box with Painter running in the background.
fwiw increasing resolution from 2048 to 4096 seems to increase processing time tenfold so you're probably better off doing as oblomov suggests.
I can see why they are forcing 32f but I feel it's worth reporting as a bug
Anyways, I filed a bug report so we'll see what comes of it.
here's a picture