Results 1 to 6 of 6

Thread: Using DX8 like DirectDraw

  1. #1
    New Member
    Join Date
    Jul 12
    Posts
    4

    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.

  2. #2
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,824

    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.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  3. #3
    New Member
    Join Date
    Jul 12
    Posts
    4

    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.

  4. #4
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,824

    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.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  5. #5
    New Member
    Join Date
    Jul 12
    Posts
    4

    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.

  6. #6
    New Member
    Join Date
    Jul 12
    Posts
    4

    Re: Using DX8 like DirectDraw

    Bump

Posting Permissions

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