I've been trying to take the output from the RankArea SRC and use it as input by ADVTurb, and then use that output as the input to 3CScanLIneMod.
My end results would be a 3CScanLineMod rendering of an image that has been warped by ADVTurb and then modified by RankArea
Using RankArea and 3CScanLIneMod by themselves works fine, as do ADVTurb and 3CScanLIneMod. But, having all three doesn't work as expected.
I cant figure out what arrangement of Inputs/Outputs of the SRC will give me a good result,
Here are the two MSGs:
Replies
If you want to process the source with the Rank Area processor, and then use that as the input to the AdvTurb processor, you can set it up as follows.
So for the Rank Area processor IO, i'm routing R Src stream into the In port, and then routing the Out port to R Out stream.
Then for the AdvTurb processor IO, i'm routing the R Out stream into the In port, and then routing the Out port to R Out stream.
Remember, R Out is an image buffer. Once you have put something into it (the output of the Rank Area processor in this example above), you can then use it in subsequent processors as the input and the output stream.
If a processor is recursive (like a warp processor, then you typically want to avoid using the same stream as the input and output. AdvTurb processor does not do recursive processing, so there is no issue using R Out stream as the input and output.
The IO strategy above is duplicated for the G and B channels same as i showed for the R channel above for the second and third Rank Area and AdvTurb.
I'm unclear if you want to process the source input with the 3C Scanline Mod processor, like in your first example above. You could use the IO routing as shown in the first example you posted to do that. If you use that with what i just showed, then the source input would be the input to the 3C Scanline Mod processor, and the modulation of the scanlines would be using the output of the Rank Area - AdvTurb processing.
If you don't want to process the source, but process the Rank Area-AdvTurb processing output as both the source for 3C ScanlineMod as well as the modulation input for 3C Scanline Mod, then you could use the IO routing for that proessor you posted in your second example.
This is the only arrangement of SRC and Port/BusStream that allowed me to get the results I was looking for.
I had output the three AdvTurb streams into Tmp{R,G,B}Img as my first steps.
Rank Area could be passed the usual way.
3CScanLineMod used output from Rank Area and used Tmp{R,G} as the modifiers.
I was going to mention using the tmp buffer streams as an option depending on what you were trying to do, so glad you figured that out.
You can remove the 3rd AdvTurb processor (one going into Tmp Bimg) since that stream is not used for anything afterwards.
LOL. It took me a while to figure out how to use tmp buffers.
Now I'm working on AdvTurb, and trying to understand how all the parameters function. It's a challenge.