Results 1 to 8 of 8

Thread: Sastraxi Smooth is Back, with a Vengeance!

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134

    Thumbs up Sastraxi Smooth is Back, with a Vengeance!

    I'm working on my latest installement of SsGraphics, earlier known as CharaEnh/S.Smooth. This one features:

    2x resize, 3x resize, 4x resize. (ROCKET fast, using DDraw)
    Manual Resize - 0.1x - 10x. (fast, using DDraw, although giving this a parameter of 4 will be slower than 4x, although giving basically the same result).
    Alpha-Blending, using vbDabl/Win98-Only alphablending.

    Coming in the form of a DLL, for use in your apps.
    It'll feature input of LONG pixel arrays/DDraw surfaces, and the output of LONG pixels arrays/DDraw surfaces.

    It's not done yet though .
    I need your help, a GOOD tutorial on accessing the memory of a surface in DDraw (dx7), not jack hoxley's tut.

    And HarryW, I finally found out what you meant when you said they weren't all the same picture, it's just that I couldnt screenshot normally at the same time as the kreed's supereagle.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    It's no big deal accessing the data behind a surface, use Getlockedarray on it. Anyway you'd be producing much faster DMA using C++, there's some samples i got with the DX8 SDK.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Oh I know that, but it never seems to work...
    HELP!
    ...I recently tried to install the "Fury Engine", an RPG maker, on my system.... During the install it locked up and for some reason has overwritten my DX7VB.DLL file!!!
    Can I get another one somewhere?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I've found a happy little directory called Sysbckup.... I am happy once more .
    But I but the DX7VB.DLL back in to the normal SYSTEM dir and it still doesnt work... (after a reboot)
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Okay I have fixed it...
    Somehow

    Kedaman what is it about DMA using C++? If possible, could you show me how to do this to populate the array from getlockedarray()?
    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
    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
    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."

  7. #7

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Thanks Jotaf98, I'll take a look at that...
    Okay. What you do is this:

    VB Code:
    1. Dim SFX As sGraphics
    2. Dim TheSurf As DirectDrawSurface7
    3. Dim The
    4.  
    5. SFX.Init
    6. Set MySurf = SFX.BiRes(TheSurf)

    That's how you start it. (Init) Then you can call BiRes to do what I like to call a 'mask saving enlargement algorithm'. What this does is it doesn't blend any colours to do the enlargement, so you can still create a crisp sprite. Although I might make one in the future that does alpha-channels...

    Oh well, I just need to finish off and make sure there are no bugs, and then it will work. The DLL will be posted sometime later on today.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  8. #8
    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
    Hum I posted that link but forgot that YOU started that thread so you already knew about it
    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."

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