• 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.

P3D v2 Odd 65K Limit Issue

Messages
10,163
Country
us-arizona
Hey all,

My fuselage has 22K Vertices but apparently its hitting the 65K limit and I cannot figure out how. Its totally smoothed. Any ideas'?

I tried chopping the cowling off in the front, applied a clone material to the cowling and canopy, this did nothing.

This is Max 2014; P3D V1.4 Primary export; P3D V2.3 Secondary Compiler.

Crash Log;

Found dictionary file: ..\..\bin\modeldef.xml
OutputFile: LJ.MDL
Output file after modification: LJ.MDL
Creating output MDL file: LJ.MDL
warning : Degenerate poly detected in file (C:\Lockheed Martin\Prepar3D V1.4 SDK\Environment Kit\Modeling SDK\3DSM2012\Plugins\LJ.X) mesh (Line001)
warning : Face vertex 0 x=0.217913 y=-0.033797 z=-0.342463
warning : Face vertex 1 x=0.222149 y=-0.02912 z=0.332341
warning : Face vertex 2 x=0.222149 y=-0.02912 z=0.332341
warning : Degenerate poly detected in file (C:\Lockheed Martin\Prepar3D V1.4 SDK\Environment Kit\Modeling SDK\3DSM2012\Plugins\LJ.X) mesh (Line001)
warning : Face vertex 0 x=0.230071 y=-0.020274 z=-0.341891
warning : Face vertex 1 x=0.217913 y=-0.033797 z=-0.342463
warning : Face vertex 2 x=0.217913 y=-0.033797 z=-0.342463
warning : Pruning animating scene graph nodes with no descendant ()
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0450025
error : Vertex list has too many vertices (67864), max allowed: 65535
error : Attempting to add an invalid vertex buffer!
error : Vertex list has too many vertices (67864), max allowed: 65535
error : Attempting to add an invalid vertex buffer!
error : Vertex list has too many vertices (67864), 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: Vert28575
Usage: XToMDL.exe /KEEP /NOGUI /BATCH /NOCRASH /BMP2DDS /XMLSAMPLE /XANIM /BULLET /DICT:DictFileName /OUT:OutfileName Filename.X
 
A little experimentation in exporting groups has found that if I export the entire model but without the canopy, its all there, exports fine. With the canopy (cut out from the fuselage, non-transparent structure area, windscreen frame), then it will not export.

Fuselage Poly Count: 22K
Canopy Poly Count: 800.
Total, about 2300K total, just under, for both parts.
 
Got it....

In my cloned Material, I was adjusting top end Diffuse sliders. I went into the Maps window and flipped a couple of other map settings in the mix and that did it. Exports well now. I was adjusting glossiness, soften, and specular level just under the Diffuse section. I thought that was where everyone adjusted their settings. I had even created a new, fresh version fuselage material and even flipped those settings and that didnt work, but adjusting Bump, Reflection, and Specular Level did the trick. One tick per setting. Main Maps List view only.
 
Bill, I typically adjust the Reflection Scale and/or the Specular Map Power Scale. Even a +/-1 will do the trick, which isn't enough to make any real difference 'in the sim.' :cool:
 
Paul, what were your adjustments? Can you fill me in on how you got that to work? Also, were you using the FSX or P3D SDK?
 
Bill, I have one map that has various metal textures and nuts bolts and screws from photographs and I overlaid a tremendous amount of parts on the same map. I made copies of the same material in other slots changing the name of each copy by adding a number [name01] [name02] etc. For each copy I incremented the Specular Level in the Specular Highlights section by +1 just like the name numbering. Since this has no affect on the end results it doesn't matter what you set the Specular level as long as each copy is different. On this model I made an educated guess as to an approximate five part division of all the parts using the same map and spread them out across all the copies. I have done this with the FSX SDK but not tried it with the P3D SDK. I'll try it with P3D and get back to you.
 
Hey Paul,

I actually ended up renaming / copying the texture but was still hoping to find a way to get the same texture (without copies) to function. They are 4096 pixels in size, so having three of those and they are all the same texture is exasperating, but at least its working and there isnt a difference in shine and glossiness with different parts on the plane.

No matter what I did, I couldnt get the system to work for me using one texture and 3 materials.

Grim...


Bill
 
Hey Paul,

I actually ended up renaming / copying the texture but was still hoping to find a way to get the same texture (without copies) to function. They are 4096 pixels in size, so having three of those and they are all the same texture is exasperating, but at least its working and there isnt a difference in shine and glossiness with different parts on the plane.

No matter what I did, I couldnt get the system to work for me using one texture and 3 materials.

Grim...


Bill
Bill,

You shouldn't actually have three texture sheets only three material editor slots with the same texture sheet just renamed (renamed in the first level of the material editor) the map (I use PSD files) will keep the same name in all three copies. Once exported the sim will be using only the one sheet in your Airplane texture folder. You are only tricking Aces Tools into thinking it is dealing with more textures thereby overcoming the vertex limit for any one material. Changing the specular in the material editor will never affect the end result because you use a specular map in the sim. In fact the specular level and glossiness settings only work for rendering within Max.
 
Hey Paul,

This I knew, but this time, it just isnt working for some reason.

I tried all the tricks I knew. My last resort was to rename the PSD's, creating 2 clonds of the first. I have tried radical amounts of adjustment to see if that would do it. I tried creating non-cloned materials as well, making them fresh, renaming them, etc, and that didnt work.
 
I'll have to leave that for more knowledgeable people. It usually is something simple or something you overlooked and when it gets that way for me I go do something different. Then after a while when you go back to it the problem is usually visible and you have an aha moment.
 
Back
Top