Scanline thickness setting

NewHome Forums OSSC, OSSC Pro and DExx-vd isl OSSC – Feature Requests Scanline thickness setting

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #7862
    paulb_nl
    Participant

      Scanlines look thin on linetriple and lineX5 because of their uneven line counts. With an extra adjustable scanline we can make them look thicker.

      Here is an example of linetriple where the scanline is 100% and the extra scanline above is 50%.
      scanlinesx3

      #11029
      destinydoom
      Participant

        Same thin effect happens with 480p X2.
        Adding extra(s) scanline(s) would be very appreciated. Even more if we could adjust intensity of each one separately as paulb_nl suggested.

        One more vote for that! 🙂

        #11465
        awe444
        Participant

          Now that x4 and x5 modes are available, scanline thickness customization is even more relevant/desirable.

          It would be great to be able to render x4-mode and x5-mode scanlines as only 1-line thick (as opposed to the currently-fixed 2-line thickness).

          I don’t think I care as much about adjusting the intensity/transparency of the scanlines as requested in the above posts, though if that option were added I’d still probably enjoy messing with it 🙂

          #13123
          awe444
          Participant

            Just wanted to bump this request up again. Variable scanline thickness is probably the only significant option missing from an otherwise fully customizable OSSC experience, especially after now after the release of v0.77 and the nice additions it brought.

            #13652
            Guspaz
            Participant

              I’d agree: I can only use 1x/2x/4x on my display, and 2x/4x both have the same behaviour of blanking out half the lines, which is much too thick for me to use. Adjustable scanline thickness would allow for thinner/smoother scanlines without presumably using any extra processing power (since it really just means applying a fixed pattern of scanline brightness instead of the current 0%/0%/100%/100%).

              For example, I would think that a scanline pattern on 4x that looks something like this would be more pleasing to me:

              100%
              80%
              0%
              80%

              #13884
              Fnnrqwin
              Participant

                Definitely jumping on this train. I would love to be able to have my scanlines fixed at 1-line thick so I can make them darker without sacrificing image clarity.

                #13944
                marqs
                Participant

                  An advanced scanline setting (in addition to current “Off”, “Auto”, “Manual”) with the ability to independently set intensities of mask lines 1-5 (from 0 to 100%) would fulfill the wishes I suppose. It’s not too much work so the feature could make its way to upcoming fw releases soon.

                  #21257
                  awe444
                  Participant

                    An advanced scanline setting (in addition to current “Off”, “Auto”, “Manual”) with the ability to independently set intensities of mask lines 1-5 (from 0 to 100%) would fulfill the wishes I suppose. It’s not too much work so the feature could make its way to upcoming fw releases soon.

                    Hope this independent mask lines feature can make it into firmware 0.82. The hybrid/multiplicative scanline functionality introduced in 0.81 will be very fun to play with in the meantime!

                    #21873
                    Mordion
                    Participant

                      I’d like to show my support for independent mask lines. If we had this feature we could implement proper band-limited scanlines (via lookup). Not band-limiting them is why scanlines look bad at 4.5x scale. If you use a 9-entry table in a 4.5x mode scanlines can look good at couch distances.

                      Super Metroid 4.5x Scanlines

                      Super Metroid 4.5x Scanlines

                      Here are the weights I use in the shader I wrote for emulators. 51.5% 79.3% 100.0% 79.3% 51.5% 62.5% 94.2% 94.2% 62.5%
                      The order has to be flipped if the first line is 4x and the second line is 5x.

                      The formula is cos((x-2)*pi/4.5)^2 * .5 + .5
                      The -2 is to adjust the phase so that the 100% coefficient is in the middle of the group of 5 lines not the group of 4.
                      The 4.5 corresponds to the ‘X’ of the image scale.
                      The two .5 on the end make 50% scanline intensity.
                      (Yes, I know that cos^2 is only an approximation of the “real” scanline formula.)

                      #22029
                      Harrumph
                      Participant

                        @Mordion
                        There is no 4.5x mode on the OSSC, so I’m not sure how you mean this could be implemented.

                        #22030
                        Mordion
                        Participant

                          I assumed that the reason there is no 4.5x mode (which is just alternating 4x and 5x every line) is because it looks terrible not because it’s hard to implement. I think that implementing a 4.5x mode would be an easier task than the scanline lookup table being proposed so I took it as a given. The intention of my post is to demonstrate the value of implementing the proposed feature.

                          #25676
                          marqs
                          Participant

                            Finally got around implementing overlay pattern customization, will be part of next firmware release.

                            #25818
                            paulb_nl
                            Participant

                              Thanks Marqs, great work. Is it correct that only the first 2 columns can be changed even in lineX4 and lineX5?

                              #25822
                              marqs
                              Participant

                                The user can freely adjust columns 0-5 (maybe it’d be better to rename them as 1-6 which should be clearer for most users). Whether adjustments on the latter ones have any effect depends on line multiplication and horizontal mode, ref this table on wiki.

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • You must be logged in to reply to this topic.