P3Dv5.3 sloped - custom textures flickering
P3Dv5.3 sloped - custom textures flickering
Hi LM
I work with the new apron/taxi options materialSet="GUID".
Project is a sloped airport.
The custom textures works fine for taxi and aprons.
Problem is when a such defined taxipath is connected or crosses a runway
the texture flickers in this area (z-fighting).
It looks like the custom texture is on same layer as the runway texture.
Used parameters:
- Taxi with custom texture using the materialSet option
- Runway with default texture
Any idea?
Ralph
www.simaddons.com
I work with the new apron/taxi options materialSet="GUID".
Project is a sloped airport.
The custom textures works fine for taxi and aprons.
Problem is when a such defined taxipath is connected or crosses a runway
the texture flickers in this area (z-fighting).
It looks like the custom texture is on same layer as the runway texture.
Used parameters:
- Taxi with custom texture using the materialSet option
- Runway with default texture
Any idea?
Ralph
www.simaddons.com
Ralph
Owner Simaddons, Switzerland
Owner Simaddons, Switzerland
Re: P3Dv5.3 sloped - custom textures flickering
Here another picture
Ralph
Owner Simaddons, Switzerland
Owner Simaddons, Switzerland
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: P3Dv5.3 sloped - custom textures flickering
Hi Ralph,
Do you see this issue when using default textures and materials for aprons, taxiways, and runways? This would help narrow down whether or not it is a material z-bias issue or a geometry issue.
Regards,
Clifton
Do you see this issue when using default textures and materials for aprons, taxiways, and runways? This would help narrow down whether or not it is a material z-bias issue or a geometry issue.
Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.
Re: P3Dv5.3 sloped - custom textures flickering
Hi Clifton
With default textures all is ok.
You can do a simple test. Use the materialSet on a runway.
Here the z-fighting is between the runway markings and the custom texture.
I have then this:
With default textures all is ok.
You can do a simple test. Use the materialSet on a runway.
Here the z-fighting is between the runway markings and the custom texture.
I have then this:
Ralph
Owner Simaddons, Switzerland
Owner Simaddons, Switzerland
Re: P3Dv5.3 sloped - custom textures flickering
Hi
Maybe my remark is off topic but I noticed that, when a runway is sloping, the link with a taxiway must be on a horizontal portion, both for the taxiway and the runway.
Regards
Michel
Maybe my remark is off topic but I noticed that, when a runway is sloping, the link with a taxiway must be on a horizontal portion, both for the taxiway and the runway.
Regards
Michel
Re: P3Dv5.3 sloped - custom textures flickering
Hi Michel
Thanks for the input.
In above picture the area with RW12 is pure flat. There is no slope.
All direct links and next behind with same value.
Regards,
Ralph
Thanks for the input.
In above picture the area with RW12 is pure flat. There is no slope.
All direct links and next behind with same value.
Regards,
Ralph
Ralph
Owner Simaddons, Switzerland
Owner Simaddons, Switzerland
Re: P3Dv5.3 sloped - custom textures flickering
Hi Ralph
With the taxiway, have you tried with an elevation of 0.1 feet below the level of the runway?
Regards
Michel
With the taxiway, have you tried with an elevation of 0.1 feet below the level of the runway?
Regards
Michel
Re: P3Dv5.3 sloped - custom textures flickering
The taxiway is connected with the runway. I can't use a different height. It's ONE point.
Look forward to receive a feedback from LM.
To bad we can not use this awesome new feature.
Look forward to receive a feedback from LM.
To bad we can not use this awesome new feature.
Ralph
Owner Simaddons, Switzerland
Owner Simaddons, Switzerland
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: P3Dv5.3 sloped - custom textures flickering
Hi Ralph,
We've opened a ticket to investigate this issue. We'll post any new information as it becomes available.
Regards,
Clifton
We've opened a ticket to investigate this issue. We'll post any new information as it becomes available.
Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: P3Dv5.3 sloped - custom textures flickering
Hi Ralph,
Could you try adding the DecalOrder element to your PBRMaterialDefinition? A decal order of 1 fixed the issue in my test case. Here is an example:
Regards,
Clifton
Could you try adding the DecalOrder element to your PBRMaterialDefinition? A decal order of 1 fixed the issue in my test case. Here is an example:
Code: Select all
<PBRMaterial id="{8A1B6D4C-7DCF-4946-8D70-79C20CCB8541}">
<FriendlyName>Custom Surface</FriendlyName>
<PBRMaterialDefinition>
<Normal>
<Filename>taxi_brick_normal.dds</Filename>
</Normal>
<Metallic>
<MetallicHasOcclusion>True</MetallicHasOcclusion>
<MetallicHasReflectance>True</MetallicHasReflectance>
<Filename>taxi_brick_metallic.dds</Filename>
</Metallic>
<Albedo>
<Filename>taxi_brick_albedo.dds</Filename>
<RGBA>255,204,0,255</RGBA>
</Albedo>
<DecalOrder>1</DecalOrder>
</PBRMaterialDefinition>
</PBRMaterial>
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.
Re: P3Dv5.3 sloped - custom textures flickering
Hi Clifton
Sorry for the delay.
That works. Thanks.
Is there any description available? Can the value be 2, 3 etc., like a layer sort order?
Ralph
Here how it works:
https://www.ycn.ch/mp4/p3dv5_mattest.mp4
Sorry for the delay.
That works. Thanks.
Is there any description available? Can the value be 2, 3 etc., like a layer sort order?
Ralph
Here how it works:
https://www.ycn.ch/mp4/p3dv5_mattest.mp4
Ralph
Owner Simaddons, Switzerland
Owner Simaddons, Switzerland
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: P3Dv5.3 sloped - custom textures flickering
Hi Ralph,
The PBR material Decal Order is typically used when creating 3D models that have coplanar surfaces (i.e. airport surfaces with lines or other details layered on top):
https://www.prepar3d.com/SDKv5/sdk/mode ... rials.html
The Decal Order will determine the draw order for each material. In this case it may make sense to use values greater than one to control the order of several different materials.
For our default airport materials, decal order 1 is used for surfaces, and decal order 2 is used for markings. You would therefore want your custom materials to use decal order 1.
Regards,
Clifton
The PBR material Decal Order is typically used when creating 3D models that have coplanar surfaces (i.e. airport surfaces with lines or other details layered on top):
https://www.prepar3d.com/SDKv5/sdk/mode ... rials.html
The Decal Order will determine the draw order for each material. In this case it may make sense to use values greater than one to control the order of several different materials.
For our default airport materials, decal order 1 is used for surfaces, and decal order 2 is used for markings. You would therefore want your custom materials to use decal order 1.
Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.