Jump to content
  • Advertisement
Sign in to follow this  

Drawing Multiple 2D Images [Resolved]

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

Having trouble drawing more than one 2D image with DirectX10 using the tutorial over at Rastertek.com. The problem I'm having is that only the first image I try to draw actually shows up on screen. I've given each image its own quad, texture, and coordinates. All of the images are sharing the same shader, is this the problem?


For anyone familiar with the Rastertek tutorial, I created a list of BitmapClass objects and then iterate through the list calling each ones render() function and then call the TextureShaderClass render() function with the appropriate BitmapClass texture.


Any help would be greatly appreciated. I think this all comes from not understanding what's really going on behind the scenes.

Share this post

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

  • 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!