hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Get and Manipulate individual pixels on screen

    Scheduled Pinned Locked Moved
    Comments & Feedback
    5
    10
    319
    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.
    • KamdroidK
      Kamdroid
      last edited by

      It would be very useful and powerful if we were able to get and manipulate individual pixels on screen.

      Aidan_FireA 1 Reply Last reply Reply Quote 0
      • Aidan_FireA
        Aidan_Fire @Kamdroid
        last edited by

        @Kamdroid Yep. Rather than making a scene with like 3 million squares for each pixel.

        D 1 Reply Last reply Reply Quote 0
        • D
          Deeeds @Aidan_Fire
          last edited by

          @Aidan-Oxley @Kamdroid

          This requires exposing shaders, which are wonderful, amazing, incredible little programs that run within programs to influence geometry and pixels (and anything else).

          Mostly these are written in low levels maths, which I understand very little of. But there's thousands of them, already written, and shared around.the.world.

          You can see some of the amazing things that shaders can do here: https://www.shadertoy.com

          Shaders for pixels are known as pixel or fragment shaders. Fragment is a fancy way of saying "part of the screen" just as shader is a fancy way of saying "small, mostly GPU, low level program".

          KamdroidK 1 Reply Last reply Reply Quote 0
          • iTap DevelopmentI
            iTap Development
            last edited by

            I think shaders is on the road map.

            1 Reply Last reply Reply Quote 0
            • KamdroidK
              Kamdroid @Deeeds
              last edited by

              @Deeeds I don't necessarily want shaders (although would be nice), I just primarily want to get and set the colour of the pixels on screen (Even Scratch can get the colour of a pixel at a coordinate).

              T 1 Reply Last reply Reply Quote 0
              • T
                Thecheater887 @Kamdroid
                last edited by

                @Kamdroid What use would this have?

                Other than lighting, also on the roadmap?

                KamdroidK Aidan_FireA 2 Replies Last reply Reply Quote 0
                • KamdroidK
                  Kamdroid @Thecheater887
                  last edited by

                  @Thecheater887 For get pixel colour at coordinate, being able to apply logic based on a pixel's colour. E.g. only do something if an object is on a green pixel etc.

                  Change pixel, for more advanced stuff. Create dynamic images, cool pixel-based effects etc

                  iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                  • iTap DevelopmentI
                    iTap Development @Kamdroid
                    last edited by

                    @Kamdroid I think this would be great!πŸ‘

                    1 Reply Last reply Reply Quote 0
                    • Aidan_FireA
                      Aidan_Fire @Thecheater887
                      last edited by

                      @Thecheater887 I could make a proper Mandelbrot set! Rather than having big chunky laggy pixels made of objects. (Google it if you don’t know what it is, it’s an awesome graph based 100% off weird maths)

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Deeeds @Aidan_Fire
                        last edited by

                        @Aidan-Oxley @Thecheater887

                        https://www.shadertoy.com/results?query=mandelbrot

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