Setting outputsize in sbsrender render via --set-value $outputsize@w,h
- October 22, 2021
- 1 reply
- 214 views
Greetings!
I have a question about an interesting behavior that seems to depend on the graph structure when setting the outputsize in sbsrender such as:
sbsrender render --set-value $outputsize@w,hIn this case, our goal is to have the graph, and essentially all of the nodes be set to output size inheritance method to "Relative to Parent" so that they can be dynamically modified downstream.
Sometimes we may have a template wherein the input is connected directly to the output. But what I note is that in such case, the outputsize as illustrated above is not respected, and the outputs are always 256x256, regardless of the size passed to the command.
I made a simple graph to illustrate - here each of these (graph & bitmap) are set to "Relative to Parent":
But when I render via:
sbsrender render --set-value \$outputsize@7,7 /path/to/file.sbsarI get outputs at 256x256, no matter what size I pass in to the command.
However, if I add a modifying node such as Levels into the same graph such as:

Then the outputsize that I pass is respected, and I can vary it via a change to the command.
My question is whether this is the expected behavior?
Thanks much!
PS: Attached are 2 sbsar file with these examples - test_0.sbs is the first one (unaffected by the command), and test_1.sbs is the other (command works as expected)
