• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX *SOLVED*MDL 64k Limit

Messages
14
Hey guys,
I want to compile my Model but i have read from the buildlog that i have too much vertices. So i read on the Internet that i have to reduce the polygons. So i do that in 3ds max with the ProOptimizer layer, but my Model looks now very crap. So give it another way to compile it with the normal 105k polygons?
 
Too many vertices is not entirely true: no single object can have more than 64K vertices, so is the model all one object? I'd be surprised if it is, so the next limit is texture vertices: is the whole model mapped to one texture? If so you need to create at least one more FSX material in Max using the same texture, assign it to half of your objects and alter the material ever so slightly by increasing/decreasing the specular level a smidgeon. Then try exporting again.
 
If the exporter gives you the "Too many vertices" error, then one of your materials simply has too many vertices assigned. Easy as that.
To clarify what Tom said:
- Check which of your materials is the culprit for the exporter error.
- Duplicate it and increase the specular level of the duplicated material by 1 unit.
- Select all objects using the original material.
- Unselect about half of them.
- Assign the duplicated material to the remaining selected objects
- Try to export again

If this isn't enough to get one material below 64k texture vertices, move single objects from one material to another until the condition is satisfied.


Also, please put more effort into checking your spelling. This is not a speed typing contest.
 
Ok, so i removed all Textures and tried it but the same Error comes again
Code:
Vertex list has too many vertices (102140), max allowed: 65535
error : Attempting to add an invalid vertex buffer!
error : Vertex list failed allocating. Most likely exceeds the 65535 limit.
error : Failed to resolve vertex: Vert4040
 
Er ... did anyone tell you to "remove all textures"?
 
Try selecting and exporting only about one-half of your project. If it exports without this vertex error, select the other one-half and export selected again. It will probably fail.

Keep working at this process of elimination until you find the object(s) that are causing the error.
 
We compile models now upwards of 500,000 (one half million) Polygons using the new P3D export SDK tools. The issue you are having is a small technical issue. Their advice should find your problem for you.

Do not use the early FSX SDK tools. They had some issues.
 
Ok Thanks n4qix. Now i know it is the Gear so anybody know how to copy the material without losing the UVM Mapping?
 
We compile models now upwards of 500,000 (one half million) Polygons using the new P3D export SDK tools.

Do the P3D exporters work in FS-X SP2? I heard that past the 65K limit they will not.... If they do they may save me a lot of coming trouble as my current model WILL go past the limit in the FS-X SDK (already needs the LOD export trick for FS9, and is still missing interiors and small detailing!!)
 
... I heard that past the 65K limit they will not....

Your information is out of date, these limitations were fixed a long time ago. Export to .X file with the version of the P3D sdk that suits your 3ds Max licence and compile to .MDL with XToMDL.exe from the P3D v1.4 sdk.
 
What about good old gMax? I know I am a dynosaur...:laughing:

Amazingly, I never found a limit for gMax in exporting, except for the 64K limit with Materials, which you can get around. The Max exporters that Microsoft made were buggy, but gMax was pretty great working. The only thing is, you cannot do Ambient Occlusion renders in Gmax (unless you could export to Blender, etc, and render there).

As far as doing P3D exports, the trick is to have both 1.4 and 2.x SDK kits. Export directly from Max via 2.x SDK, then do final X files through 1.4 SDK and then your model will work in both FSX and P3D. Max exports are two fold. Export from Max to X and Xanim files, drop those or run those through the XtoMDL.exe 'machine' and out pops your MDL file. Xanim is the 'animations' file for your X file scene.


Bill
 
Perhaps, gMax will still export the X file, that can simply be fed to the P3D 1.4 XtoMDL... just like you can export FS9 models in chunks" and use edited ASM through BGLC_9 to get huge model out :)
 
Perhaps, gMax will still export the X file, that can simply be fed to the P3D 1.4 XtoMDL... just like you can export FS9 models in chunks" and use edited ASM through BGLC_9 to get huge model out :)
Sorry, but the export/compiler gmax_FSModelExp.dle writes all intermediate files (.x and .xanim) to memory, then erases them from memory when the process is complete.

So, what you hopefully suggest simply cannot happen! :oops:
 
Back
Top