Jump to content
  • Advertisement
Sign in to follow this  
blueshogun96

Direct3D texture problem

This topic is 4680 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 http://www.angelfire.com/games5/avpx/donuts_port.jpg original game http://www.angelfire.com/games5/avpx/donuts.rar port: http://www.angelfire.com/games5/avpx/donuts_d3d.rar 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!