Jump to content
  • Advertisement
Sign in to follow this  
Endriu

Large .x files

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

Hello! I just started doing some stuff and I've got a problem with large .x files. My model is impotred from 3D-MAX and it has about 100.000 polygons. When I load such a large amount of polys using <LoadFromXFile> procedure my aplication does only 5 fps. What to do?? I know that it is possible to get more. When I open it with "Mesh Viewer" it runs with 30fps. Could anyone show me the wright direction??

Share this post


Link to post
Share on other sites
Advertisement
Make sure you're using backface culling and a decent way of rendering it (vertex arrays/display lists/vertex buffer objects/etc.).

Share this post


Link to post
Share on other sites
Thanks for showing me the wright direction, I'll try to read about it. Could you write me sth more about it. What do you mean by "(vertex arrays/display lists/vertex buffer objects/etc.)"?

Share this post


Link to post
Share on other sites
I checked the backface culling and it seams that in Direct3D it's set on by default. Any other suggestions? Why is it runnung so slow? If i start doing sth. large my engine will not do more than 50.000 triangles. Does someone know how to improove this??

Share this post


Link to post
Share on other sites
Is the resolution in both the model viewer and your program the same? If your video card is only able to do 3 million polys a second, it's likely that a large difference in resolution could significantly slow it down.

Share this post


Link to post
Share on other sites
of course it's the same. Its even lower in my program, but thanks anyway. still looking for answer. I want to do a scene with great model in a front so i need it.

Share this post


Link to post
Share on other sites
Oh man, I told u guys It can run on my machine beqouse in other application it has 30 fps.... I've got MX440

Share this post


Link to post
Share on other sites

This topic is 4799 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.

Guest
This topic is now closed to further replies.
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!