Michael Selig <[EMAIL PROTECTED]> said: > Thank you for this explanation. It reminds me now of some past comments > from you along these lines. > > I was hoping for the answer "use this code to convert the files", but > things are not so simple unfortunately. If you are handy at scripting you might be able to take the ac3d file saved from ppe and clean it up. Basically it is just a matter of deleting the unused vertices and renumbering them in the surface records. You'll need to read the file twice (or buffer the objects) because the surface records come after the vertices in each object.
There is also a brute force method that doesn't require scripting. If you have ac3d you can just select each object and dump the unused vertices. This can be slow until you've dumped some crap. With one model I got a nearly 2gb ac3d file and in that case chose to put all the surfaces in one object (using a text editor on a fast computer) and trash the rest of the objects. This left the texturing messed up, but the geometry was intact. You can do this right in ac3d (if the model will load---the 2gb file would not) by merging all the objects into one and then optimizing vertices. For this you need to be very very patient and trust that ac3d isn't locked up while it takes a long time to do the operations. Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
