|
-
Jun 16th, 2001, 02:44 PM
#1
Thread Starter
Good Ol' Platypus
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)
-
Jun 16th, 2001, 06:23 PM
#2
transcendental analytic
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.
-
Jun 16th, 2001, 06:36 PM
#3
Thread Starter
Good Ol' Platypus
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)
-
Jun 16th, 2001, 10:00 PM
#4
Thread Starter
Good Ol' Platypus
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)
-
Jun 17th, 2001, 10:41 PM
#5
Thread Starter
Good Ol' Platypus
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)
-
Jun 22nd, 2001, 06:23 AM
#6
Frenzied Member
-
Jun 24th, 2001, 09:18 AM
#7
Thread Starter
Good Ol' Platypus
Thanks Jotaf98, I'll take a look at that...
Okay. What you do is this:
VB Code:
Dim SFX As sGraphics
Dim TheSurf As DirectDrawSurface7
Dim The
SFX.Init
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)
-
Jun 25th, 2001, 07:05 AM
#8
Frenzied Member
Hum I posted that link but forgot that YOU started that thread so you already knew about it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|