RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Vectrex emulator with GPU rendering

    Scheduled Pinned Locked Moved Ideas and Development
    vectrexvector
    15 Posts 9 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • roslofR
      roslof @davej
      last edited by

      @davej you've made my day. Running on Pi4B. I disabled my shader. Took a deep breath. No issues. I mean. So good. Wish I had constructive feedback to help you more, but I don't. Good luck with the project. Nice to see effort here, since it's been so long.

      1 Reply Last reply Reply Quote 0
      • RionR
        Rion
        last edited by

        @davej

        Impressive! Really brings back that vector monitor feeling.

        Could this also be applied to lr-mess? @valerino 's new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!) also support Vectrex via custom scriptmodules and i was curious if this could be implemented here also?

        FBNeo rom filtering
        Mame2003 Arcade Bezels
        Fba Arcade Bezels
        Fba NeoGeo Bezels

        1 Reply Last reply Reply Quote 0
        • Z
          zerojay
          last edited by zerojay

          I'll likely have a scriptmodule for this in a short bit, just trying to finish off something else first before I move over to this.
          https://github.com/zerojay/RetroPie-Extra/blob/master/scriptmodules/libretrocores/lr-vecx.sh

          1 Reply Last reply Reply Quote 1
          • davejD
            davej
            last edited by

            @james-milroy + @Rion :
            There's no particular reason the technique couldn't be used in other emulators but I'm not sure how well it will work with colour games. It relies on the framebuffer's alpha channel to limit how bright the glow gets - the more glow gets written the less effect subsequent glow has. That works fine for monochrome but I can see potential problems with having three colour channels instead of one. e.g. What if the alpha value gets used up by multiple blue lines and then a green line is drawn (given green is much more visible than blue)? Will the green glow be attenuated too much? Would the effect be visible enough to notice? What happens on real arcade machines in such circumstances?

            @zerojay :
            I'll be submitting request to incorporate this into the official Libretro Vectrex core in the next day or two. Don't put effort into creating a scriptmodule if it's going to be redundant soon.

            Z R 2 Replies Last reply Reply Quote 1
            • Z
              zerojay @davej
              last edited by

              @davej said in Vectrex emulator with GPU rendering:

              @zerojay :
              I'll be submitting request to incorporate this into the official Libretro Vectrex core in the next day or two. Don't put effort into creating a scriptmodule if it's going to be redundant soon.

              It was about 5 minutes of work, no biggie.

              1 Reply Last reply Reply Quote 0
              • davejD
                davej
                last edited by

                I've made a few, mainly cosmetic, modifications and issued the pull request so it should be merged with the main project soon.

                1 Reply Last reply Reply Quote 2
                • R
                  ReadyPlayaWon Banned @davej
                  last edited by ReadyPlayaWon

                  @davej said in Vectrex emulator with GPU rendering:

                  There's no particular reason the technique couldn't be used in other emulators but I'm not sure how well it will work with colour games.

                  I think it would be perfect for Asteroids (the 1979 Arcade game) which is not colour and would be particularly awesome to see the bullets with the Glow/Bloom effect that i remember so fondly when playing in the Arcade in 1979.

                  The way it's emulated in Retropie with any current emulator ... the bullets are really difficult to see without the "glow" effect :(

                  mituM davejD 2 Replies Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @ReadyPlayaWon
                    last edited by

                    @ReadyPlayaWon Which emulator does ?

                    1 Reply Last reply Reply Quote 0
                    • davejD
                      davej @ReadyPlayaWon
                      last edited by

                      @ReadyPlayaWon said in Vectrex emulator with GPU rendering:

                      I think it would be perfect for Asteroids (the 1979 Arcade game) which is not colour and would be particularly awesome to see the bullets with the Glow/Bloom effect that i remember so fondly when playing in the Arcade in 1979.

                      The way it's emulated in Retropie with any current emulator ... the bullets are really difficult to see without the "glow" effect :(

                      It's really easy to scale the size of the dots/lines based on how bright they are. With the overbright values that Asteroids uses for bullets it would be possible to make them stand out by being bigger too. It does depend if the emulators support that though.

                      In other news, I've been investigating how it would look if applied to colour games:
                      starwars.png
                      My concerns about how it would work with colour are unfounded - any theoretical effects are not noticeable during games.

                      Don't get too exited about that image. I hacked an emulator to add a grab current screen's vectors button and display the results in a separate program. That is very different from adding GPU rendering to an existing emulator.

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zerojay
                        last edited by

                        It looks like the pull request for this was accepted 3 days ago. I'll remove my scriptmodule now.

                        Z 1 Reply Last reply Reply Quote 0
                        • F
                          Folly
                          last edited by Folly

                          @davej

                          Hi,

                          I tried your improvements. Looks really great :)
                          Thanks !

                          Will the improvements soon be added in the master branche ?

                          PolePosition(1982)-201011-131854.png

                          1 Reply Last reply Reply Quote 0
                          • Z
                            zerojay @zerojay
                            last edited by

                            @zerojay said in Vectrex emulator with GPU rendering:

                            It looks like the pull request for this was accepted 3 days ago.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.