Advertisement Jump to content
Sign in to follow this  

Direct3D texture problem

This topic is 4887 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey everyone, I was just porting this old DirectDraw 3.0 game to a Direct3D 8.0 . Remember that old Donuts game that came with dx sdks 7 and earlier? I was porting that to 8 for the fun of it. My problem is with the sprites they won't show up properly. I'll post some screens of the port I made as well as the source code for both. If you have trouble compiling the ported source code, you may have to exclude libci.lib from your build. :) The old source code will compile just fine as long as you add this line to your dsutil.c // Small hack for MSVC 7.1 #define DSBCAPS_CTRLDEFAULT (DSBCAPS_CTRLPAN|DSBCAPS_CTRLVOLUME|DSBCAPS_CTRLFREQUENCY) If you manage to help me fix this problem, I'll give you some credit for it. thanks. screenshot original game port: copy and paste links into browser :) EDIT: The problem lies in DrawDisplayList at line 1043 texture map coordinates are way off but I can't figure how to fix them. EDIT2: Please tell me if I haven't explained the problem thoroughly. [Edited by - blueshogun96 on August 29, 2005 2:11:19 PM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!