XNA Effects – ASCII Art in 3D

Sign in to queue

The Discussion

  • User profile image
    Richard Carter

    I think the result would be much clearer if you used some linear algebra (matrix math) to determine the best fit letters, rather than just downscaling to solid blocks of color and picking the letter based on the letter's "area". According to your explanation, the algorithm doesn't take into account the shape of each character at all, which is something that could be exploited for example to be able to make out the "8" in the first image, rather than downgrading it to something that looks like a "U".

  • User profile image
    Louis Ingenthron

    That looks like maybe a graphics driver issue?  Odd... try updating your graphics driver and if that doesn't work you can try switching your DirectX SDK to Debug Mode or running the app through PIX for windows.

  • User profile image
    Clint

    @Niklas Rother, I just compiled the program and it ran fine.  Did you alter the program at all?

  • User profile image
    Clint

    @Niklas Rother following with Louis

  • User profile image
    Niklas Rother

    Hmm... the Download at Codeplex seems to be broken! It gave me this:

    http://img90.imageshack.us/img90/4422/screenshot009l.png

    The textures seems to be wrong!

  • User profile image
    Clint

    @Richard Carter The project is open source, we'd love it if you could contribute back!

  • User profile image
    Louis Ingenthron

    @Richard That's an interesting idea... think it could be done in real-time?

  • User profile image
    Will

    Its like Doom (I noticed the ammo clip).

  • User profile image
    Clint

    @Melonize sorry, right now XNA is c# only.  In addition, a lot of this is HLSL which is for shaders which is C-like as well.  No way of getting around that no matter what.

  • User profile image
    Melonize

    Could you make a visual basic version? That would help... I seem interested in your project.

  • User profile image
    Louis Ingenthron

    @Will Nice try, but you are going to have to go back a bit further.  @Melonize Like @Coding4Fun said, XNA is C# only.  However, it doesn't take a lot of effort to use Managed DirectX in VB and all of the algorithms should translate 1 to 1, you just have to change the graphics calls and set up the window yourself.  The HLSL should work without any changes!

Add Your 2 Cents