Results 1 to 10 of 10

Thread: Antialias

  1. #1
    Joost
    Guest

    Question Antialias

    Hi,

    Is there a algorithm available to antialias sprites in Visual Basic (no DirectX)?

    Thanx!

  2. #2
    Addicted Member Janus's Avatar
    Join Date
    Aug 2001
    Location
    California
    Posts
    221
    You can't just 'antialias sprites'.
    "1 4m 4 1337 #4xz0r!'
    Janus

  3. #3
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    hm are you sure you got the right meaning of antialias?
    what you could do is blur it or do some aplhablending to make it look better against the background if that is what you want to do.
    Sanity is a full time job

    Puh das war harter Stoff!

  4. #4
    Joost
    Guest
    The sprites are not anti-aliassed. They should be anti-aliassed when they are being drawed on the background.

    The background is controlled by the user, so the anti-aliassed should be done at run-time.

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I think he wants a filter that basically makes the edges look non-jaggy (something like how the GeForce 2/3 and Voodoo 4/5 have full-scene antialiasing)
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6
    Joost
    Guest

    Wink

    Yes, that's what I want.

  7. #7
    Addicted Member Janus's Avatar
    Join Date
    Aug 2001
    Location
    California
    Posts
    221
    Alright...
    You using pure VB, GDI, or DirectDraw?
    "1 4m 4 1337 #4xz0r!'
    Janus

  8. #8
    Joost
    Guest
    I'm using the BitBlt API.

  9. #9
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    In that case it's gonna be a bit hard to do it... and slow. If I were you I would forget that idea
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  10. #10
    Addicted Member Janus's Avatar
    Join Date
    Aug 2001
    Location
    California
    Posts
    221

    Idea

    Try altering the edges of the mask to &H808080 or &H7F7F7F instead of &HFFFFFF... That'll do something similar to what you want. Though it won't look all that nice
    "1 4m 4 1337 #4xz0r!'
    Janus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width