• 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 v4 3dsmax and P3Dv4 SDK - Z-Bias level error

Messages
51
Country
israel
Dear developers,

I'm new to scenery development so maybe you can help me with the following problem:

I am trying to create a ground polygon.
For that I am creating a new material using the P3Dv4 SDK plugin for 3dsmax.
I enter all the data needed, choose the . bmp file I want to use.
When I reach the z-bias level entry, I enter "-10" and hit enter.
Immidately I get two popup windows as you can see in the picture attached.
In fact every value I enter gives me this popup. Possitive numbers as well.

Any help will be much appreciated,
Daniel.
 

Attachments

  • 3dsMax-P3Dv4-SDK.jpg
    3dsMax-P3Dv4-SDK.jpg
    749.1 KB · Views: 691
Try using ModelConverterX to convert your regular polygon to a ground polygon? The Ground Polygon Wizard of the latest development version supports P3Dv4 ground polygons, I believe.
 
Thanks for the answer Tom.
Do you mean I should leave the z-bias level blank when creating the material in 3dsmax and adding the z-bias level in MCX before convering to .bgl?

Daniel
 
This looks like a bug in the script that comes with the gamepack to me.
 
This looks like a bug in the script that comes with the gamepack to me.

Thanks Arno. I didn't find any complaints about this issue online so it could be i'm doing something wrong or it really is a bug. I will try posting this on Prepar3d forum.
Anyway, I succeeded importing the ground polygon into P3Dv4 without any flickering issues by:
1. Leaving the z-bias blank in 3dsmax and exporting a .x file.
2. Opening the exported .x file with notepad and enter the z-bias value manually.
3. Importing the tweaked .x file into MCX and exporting as .mdl file.
4. Importing .mdl file into GP wizard and converting to .bgl.

The only issue i'm experiencing now is that the ground polygon in P3Dv4 isn't displaying my aircraft shadow.
Altough I think it is a separate issue from what I wrote above :)
 
Daniel, you can ignore the two error messages and enter the values in the z-bias field. It's just a script error. For me it is the same. But the Z-Bias values still work in the P3DV4. One can say that the two error messages are disturbing, but not the functionality impair. In the current project of mine I have created 5 different ground markings (from -2 to -10) and everything worked perfectly: shadows are displayed, gloss effects etc
 
Daniel, you can ignore the two error messages and enter the values in the z-bias field. It's just a script error. For me it is the same. But the Z-Bias values still work in the P3DV4. One can say that the two error messages are disturbing, but not the functionality impair. In the current project of mine I have created 5 different ground markings (from -2 to -10) and everything worked perfectly: shadows are displayed, gloss effects etc

Thanks Christian.
Good news that everything works for you and everything is displayed :)
I will give it a try with a multi layer polygon and ignore the messages, hopefully it will fix my shadow issue as well.
 
Daniel, you can ignore the two error messages and enter the values in the z-bias field. It's just a script error. For me it is the same. But the Z-Bias values still work in the P3DV4. One can say that the two error messages are disturbing, but not the functionality impair. In the current project of mine I have created 5 different ground markings (from -2 to -10) and everything worked perfectly: shadows are displayed, gloss effects etc

Hi Christian,

I came across this thread on the Prepar3d forum. It might solve the annoying messages :)
http://www.prepar3d.com/forum/viewtopic.php?f=6307&t=125518
 
Back
Top