Jump to content
  • Advertisement


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


drawSubset question

This topic is 5302 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 am trying to work in the animated mesh code from the directx SDK to my terrain engine and I''m having some trouble. In the rendering code, various render states are set then drawsubset is called. The mesh displays and animates properly, but everything rendered afterward has what looks like messed up texture coordinates. I figured I needed to unset some of the render state changes made in the process, but that didn''t help. Whats odd is if I simply comment out the drawSubset() call, the mesh doesn''t render (as expected) but everything afterward renders properly. My main question is does drawSubset() make any render state changes itself, or has anyone had similar problems? If so, how do I find out what they are so I can unset them? Jason

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
It could be using an other FVF, with a different format/size.
Try setting your original back after rendering, might just be your problem...

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!