Jump to content

Neil Pate

Members
  • Posts

    1,156
  • Joined

  • Last visited

  • Days Won

    102

Posts posted by Neil Pate

  1. 55 minutes ago, Dataflow_G said:

    The diagonals need to be in the form:

    [0,1]
    [1,0]
    or
    [1,0]
    [0,1]

    The 'M' only has a single pixel, or three pixels in a 2x2 grid area, so the anti-aliasing isn't applied. Not sure why it has been implemented this way.

    Got it, thanks. This is a bit annoying, but I can use the technique @ShaunR suggested with the mask. I am busy making some kind of weird C64 with a real 6502 but ROM and RAM (and I guess VIC-II) faked in LabVIEW, so the speed is going to be terrible!

     

  2. 9 hours ago, ShaunR said:

    It is anti-aliasing because you have the zoom factor cranked up, right?

    Set the zoom factor to zero and get your magnifying glass out. :D

    That looks like a pretty broken anti-aliasing algorithm then!

    You are right, I have the ZoomFactor cranked up to 25, but this really should not cause any kind of anti-aliasing.

    Anyway, I don't want the picture control to do AA, this just seems strange to me.

    Dropping the ZoomFactor down to 1 and then taking a screenshot (and then zooming in) shows it is actually working fine, so at some point the ZoomFactor must be screwing it up. Interesting...

    image.png.2f3080d99c788f026e89f551f49cb20e.png 

  3. I am playing around with the character ROM from a Commodore 64. 

    Extracting the contents and converting to bit arrays

    image.png.09320588161b654ddc13d7bfca76ab9d.png

     

    Say I have this bit patten, and I convert it to a U8 [][], like this

    image.png.eec22a47cd873188d1c1ee0cc9c718fa.png

     

    Then I can display it on a Picture Control, no problems

    image.png.bfc035a106af63927db9b6437a2fcb36.png

    Like this

    image.png.63ecb2c8e6b81af24837b61954246fd8.png

     

    So far so good...

    Now does anyone know why this particular pattern (and a few others) don't work correctly? As you can see in the picture I am getting some light pink leaking through (almost like some kind of anti-aliasing).

     

    image.png.50e97071bd4d66abf9f93045049fab9f.png

     

    It does not happen for any of the alphabetic chars, but does for a few others.

    Any ideas?

     

  4. Not entirely related, but I got in big trouble in my first real engineering job. The company was moving premises and we all helped pack up. I had a cupboard next to my desk filled with all these weird old cables which I happily threw out as I did not recognise any of them and just assumed they were junk. Turns out we needed them to support some old telecomms equipment from the days when everyone seemed to have their own custom cables!

    Cannot recall how the story ended, I think somebody did some dumpster diving and managed to find the bag! I kept my job 🙂

  5. Nice idea hooovahh, I did not think to solve it this way. I already have a nice Steel Series mouse which comes with a macro configurer and I have some set up for LabVIEW but I always forget to use them! This might be one I remember to use 🙂

    My problem with using the middle mouse button is that unless other applications use it already (like Chrome or Firefox to close tabs) so you need to make it application specific. My Steel Series configurer has a way to do this but it seems to be a bit clumsy especially when dealing with multiple versions of LabVIEW and then switching over to a browser mid session.

    Is this XMouse Control thing any good?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.