PDA

View Full Version : How to reduce number of triangles in md2 models



JohnyZ
01-30-2004, 06:41 AM
Hi, I am trying to create my own rts game using c++ and OpenGl. I have some problems with FPS. When I want to display more then 100 md2 models, fps equals about 15. Models are made of about 700 triangles. I was wondering about reducing the number of triangles in my models, if they are far from the camera. The problem is that I don't know how to reduce the number of them, and I don't know how to align positions of triangles, that are still displayed. Does anybody know a good webpage about loading, animating, reducing quality of 3d models??

AdrianD
01-30-2004, 08:14 AM
google knows them all... http://www.opengl.org/discussion_boards/ubb/wink.gif http://www.google.de/search?q=progressive+meshes&ie=UTF-8&oe=UTF-8&hl=de&btnG=Google+Suche&meta= http://www.google.de/search?hl=de&ie=UTF-8&oe=UTF-8&q=Mesh+Level+of+Detail&btnG=Google+Suche&meta=

JohnyZ
01-30-2004, 10:35 PM
OK, thanks for your reply. I will look at those pages. But does anybody know what is the best md2 model editor and, from what page I can download it. I had some problems to find it in google.

JohnyZ
01-30-2004, 11:52 PM
Listen, my problem is that I want to reduce number of triangles in objects that are far from the camera. But when I delete triangle there is a hole in my model. I want other triangles to stick well! Ho can I do it?

JustHanging
01-31-2004, 03:34 AM
Depending on the editor you can delete the edges and unnecessary vertices, or delete faces and move the vertices to close the gaps. You might need to adjust texture mapping afterwards.

If you make the models yourself, I suggest you do it the other way around, first make a low-resolution version, save it, and then make the high-resolution versions from it by splitting faces and moving the new vertices.

-Ilkka

dorbie
01-31-2004, 12:11 PM
Moving to beginners section along with other thread.

Please don't post multiple threads on besically the same question. Folks are helpful around here and you'll be much better off engaging a few people in a single detailed thread about your problems.