|
-
Jul 10th, 2012, 05:57 AM
#1
Thread Starter
New Member
Using DX8 like DirectDraw
Hi. I'm new here and i have a question. Since about a week I'm searching for a ways to translate vb6 code based on DirectDraw into the DX8. I have learnt how to use DX8, but i still can't find any solutions to use surfaces system from DD in DX8. Is there any way to operate surfaces in DX8?
Sorry for my English, but I'm foreigner and I don't use it often.
-
Jul 10th, 2012, 08:35 PM
#2
Re: Using DX8 like DirectDraw
Take a look at my massive dx tutorial in my sig. Currently though im improving it in 4 different programming languages. I plan on having over 200 tutorials per language. For now though, the 19 i have will suffice.
-
Jul 11th, 2012, 01:07 AM
#3
Thread Starter
New Member
Re: Using DX8 like DirectDraw
At the beginning I wish to thank you for fast respond. I'm afraid this answer doesn't help me, because I have read your whole tutorial and didn't found any way to use textures (DX8) just like surfaces (DD). I Think it will solve the problem, if you point me a method for editing texturest in program runtime - after loading it from hard disk. Thank you for your help.
-
Jul 11th, 2012, 09:40 AM
#4
Re: Using DX8 like DirectDraw
Surfacing is Texturemapping. Just better. And DirectDraw has many limitations, such as not being able to rotate the sprites/images. As for editing textures, I'm not sure if you can. DirectX is mainly used for creating games, though it can be used to take snapshots, which I have code for. I'm guessing thats as close to editing textures as youre gonna get.
-
Jul 11th, 2012, 10:45 AM
#5
Thread Starter
New Member
Re: Using DX8 like DirectDraw
I have written procedures to rotate surfaces and alpha-blend in DD. I think I wrote my question doesn't as legible as it needs to. I have to simulate some functions from DD on DX8, theese are: storing bitmaps on surfaces(done with polygons and textures), alpha blending and rotating(supported in DX8), bliting one surface to other(still don't know how) and accesing single pixels from surface(also don't know how). I have read your texture mapping tutorial twice and still can't find way to blit and access texture datas... but still thanks to you for help. Your devoted time means a lot to me.
-
Aug 11th, 2012, 11:46 AM
#6
Thread Starter
New Member
Re: Using DX8 like DirectDraw
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
|