Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

gommo

Problem converting directx8.1 to dx9

This topic is 5837 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

I have a problem with a terrain generator that was generating nice terrain in a directx 8.1 app. Now when I use the same classes in my directx9 app, after converting the appropriate function calls, it renders totally wrong. By wrong, I mean it seems that there is one vertex in one corner that is being used in each triangle drawn. I have checked the index buffers and vertex buffers and the values in them are exactly the same as the ones in my directx 8.1 app. I am thinking I have screwed up with drawIndexprimitive or setstreamsource or something when I added the extra parameters needed for the directx 9.0 version of the API call. Any help, or stuff I should look for?? Thanks

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

GameDev.net 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!