Jump to content
  • Advertisement
Sign in to follow this  
Suppachuppa

Loading meshes

This topic is 4085 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 loaded a few meshes into a DirectX program, and it started to lag. The meshes weren't very complex, and I know that it is not a problem related to my graphics driver because I have played many high level games on it. Is there a reason that this could be happening?

Share this post


Link to post
Share on other sites
Advertisement
Are you loading the meshes every frame? How complex is "weren't very complex"?

You should really show some code when asking a question like this, cause it could be anything and you haven't provided enough information.

Regards,
ViLiO

Share this post


Link to post
Share on other sites
I loaded a very simply landscape, a tree, and a human onto the screen from .X filed. Yes, I did render them every frame. I used D3DXLoadMeshFromX to load the meshes. What kind of code would be necessary to tell what my problem is?

Share this post


Link to post
Share on other sites
My guess is that you are maybie loading your models in Rendering loop function
witch will cause the lag?

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.

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!