• 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 Ground Polygons no shadows

Messages
99
Country
germany
Hi guys (beware: noob at work! :banghead:),

I keept searching for this question and found some older threads that not all GP layers will cast shadows. Unfortunately placing my GP on layers from 16 to 24 did not fix this. I still can't see any shadows on my custom ground polygons.

Any advice?

Thanks.

Gerald
 
Messages
99
Country
germany
Hello @toprob ,

I'm not at home now and can't tell you about that option.
The problem is that if I slew my ACFT above the ground at my own custom ARP, I can see the shadow dissapearing over my GP (it does show on the TAXI lines created by ADE directly but not on the custom ground lines and markings).
I found that topic I talkt about (it is older and for P3D v3). In the pictures you can see the same effect.
http://www.fsdeveloper.com/forum/threads/shadow-not-casting-on-certain-texture-ground-poly.439690/

So the Q is: Will that option affect only parts of the ground?
 
Messages
1,095
It's not clear whether you've ended up with old pre-FSX polys, or new Prepar3d ones. It's something I found with Prepar3d polys for v4, editing the resultant BGL gave me problems until I tried turning off drawcall batching -- then my shadows disappeared until I realised they'd be 'simulator objects' rather than scenery objects, and set them to receive shadows in the Prepar3d settings.... So yeah, it would affect the polys only, normal ground etc would still receive shadows.

Could be off-track, of course, but worth checking if you have already tweaked the layers without effect.
 
Messages
99
Country
germany
Set buildings to receive shadows. Don't ask my why :censored::D
Yep...that worked. SimObjects cast receive did not do anything. Setting the buildings to receive shadows worked well....darn...
I will still try to convert all my GP to MDL.

Regards,
Gerald
 
Messages
7,450
Country
us-illinois
Hi guys (beware: noob at work! :banghead:),
http://www.fsdeveloper.com/forum/threads/ground-polygons-no-shadows.441067/

I kept searching for this question and found some older threads that not all GP layers will cast shadows. Unfortunately placing my GP on layers from 16 to 24 did not fix this. I still can't see any shadows on my custom ground polygons.

Any advice?

Thanks.

Gerald
Hi Gerald:

Just out of curiosity, did you also try remaining layers between 24 and 32 to see if any of them would receive / display shadows ?

http://www.fsdeveloper.com/forum/threads/gp-and-custom-ground-lines.440977/#post-780567

AFAIK, for P3D compatibility, one should only use VTP layers from 16 to 32 so the textured SCASM / ASM Ground Polyon surface 'receives' and displays shadows cast from super-imposed SimObjects.

GaryGB
 
Messages
99
Country
germany
OK guys. I tried all layers from 16 to 24 and none of them displayed shadows.
Converting them to MDL did not work either.

Anything else I could try?
 
Messages
1,095
I'm still unsure whether these are FS2002-style, or Prepar3d? Talking about multiples-of-4 layers suggests FS2002, but it could still be either...
 
Messages
7,450
Country
us-illinois
http://www.fsdeveloper.com/forum/threads/ground-polygons-no-shadows.441067/#post-781972

Well I did convert them for P3D v4 with XtoMDL so I do think these are P3D like GP...

Hi Gerald:

If that is the case, then they are MDL-based Ground Polygons (aka G-Polys or GPs").

Did you use 'negative' Z-Bias Material Properties settings when you created / placed the "GP" objects ? :scratchch

Also, did you try editing the placement BGLComp-XML placement code for the MDL-based GPs to disable any "NoShadow" elements, or to insert "NoZTest" elements immediately prior to the LibraryObject placement elements for the GPs ? ;)

https://msdn.microsoft.com/en-us/library/cc526978.aspx#LibraryObject

GaryGB
 
Last edited:
Messages
5,214
Gary said it all but I wish he would understand the word "concise" :D.
(Sorry, Gary, you know I cannot help myself making these remarks. They are well meant though).
And P3Dv4 is different.
And I am not sure whether Gerald's conversion of his FS2004 scasm type ground polys to FSX ones can be done with XtoMDL. I guess it would need to go through the MCX Gound Poly Wizard, but correct me if I am wrong again.
 
Messages
783
Country
norway
If you still have problems with shadows (I have noted a few for a long time) ... leave this to LM and then have a drink.
 
Messages
99
Country
germany
I guess it would need to go through the MCX Gound Poly Wizard, but correct me if I am wrong again.
Hi @robystar , I did not go through the GP Wizard because I can convert only 1 GP at a time. I had to import the BGL and export the scenery.

Did you use 'negative' Z-Bias Material Properties settings when you created / placed the "GP" objects ?
I just exported the scenery. I understood that the negative Z-Bias is applied automaticaly.
 
Top