Jump to content
  • Advertisement
Sign in to follow this  
godsenddeath

directX - bad_alloc (C++) - SOLVED

This topic is 3875 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'm currently working off of Jason Jurecka 's .x file article, its working fine when i load tiger.x, but when i try to load tiny.x, VC++ throws a std::bad_alloc error, before i post the code, does anyone know what would cause this? [Edited by - godsenddeath on May 9, 2008 5:12:42 PM]

Share this post


Link to post
Share on other sites
Advertisement
Hi

tiny.x is skinable mesh, having animation frames inside of it. tiger.x is simple mesh without animation. It is possible that mesh loading code doesn't recognize animation frames and it is throwing an error.

Share this post


Link to post
Share on other sites
A little off topic - but what exactly are you casting/ This is one of the many reasons casts are often bad...

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!