PIPE Suggestion

  • Fusionftw
    14th Jul 2019 Member 0 Permalink

    Can we have pipe that doesn't strip deco off of elements?

    You could use PAVG0 or PAVG1 to store the decoration color.

  • jacob1
    14th Jul 2019 Developer 0 Permalink
    pavg0 is used to store tmp, pavg1 is used to store ctype. There is no space left to store deco color for elements going through PIPE, unfortunately.

    We could add a .tmp flag to transfer deco color as elements move through the PIPE though, hmm ...


    A long time ago I actually made PIPE work like that, deco color would transfer through as elements went through the PIPE. I then had deco not actually render on the pipe (like how deco doesn't render on VIRS). When the elements came out, they would have their original deco color. I wonder if I could control this via a .tmp flag.
    Edited once by jacob1. Last: 14th Jul 2019
  • Fusionftw
    14th Jul 2019 Member 0 Permalink

    I think this could be possible. Each RGB value would have to be stored in number form (ex: 0xFFFFFFFF becomes 4294967295.

  • jacob1
    14th Jul 2019 Developer 0 Permalink
    @Fusionftw (View Post)
    There is no difference between hex and number form. 0xFFFFFFFF in base 16 is the same number 4294967295 in base 10. The computer stores them in the exact same way.

    I was suggesting storing deco color in ... the deco color field. Just transfer decoration through the pipe like it transfers all the other properties. The only downside is that you can't decorate pipes. But if I made this a flag it wouldn't be an issue.