- Messages
- 103
- Country
Hello,
Recently there was a topic about Ground Polygons created in Gmax ( http://www.scenerydesign.org/forum/showthread.php?t=479 ). In order for the ground textures to appear above the default ground you had to specify a zbias-layer number > 0. But in some cases you had the problem of buildings dissapearing into the ground. Now we 'think' we have found the solution for this problem.
As far as we know, the problem will probably be caused by the building textures that have a lower zbias layer than the ground textures. So if your ground polygons have a zbias layer of 1 and your buildings don't have a zbias layer assigned (so default = 0) then they will dissapear into the ground, because the ground has a 'higher drawing priority' than the buildings. Thinking about this, we assigned a higher zbias layer value to the building textures. So for example:
ground zbias layer 1
buildings zbias layer 5
When you go up, you will see that the building doesn't dissapear into the ground anymore, because the building has a higher drawing priority (zbias 5) than the ground.
We have tested multiple values for the zbias layer numbers, and we found out that your building textures should have a zbias value < 15. When you assign a value between 15 and 25, then your building even appears in front of the clouds (which is not desired off course).
We still have to test a lot, but a good example should be like this:
zbias layer 1: ground
zbias layer 2: apron
zbias layer 3: taxiways
zbias layer 4: lines
...
zbias layer 9: buildings
That way everything should be drawn in the right order.
Thomas
Recently there was a topic about Ground Polygons created in Gmax ( http://www.scenerydesign.org/forum/showthread.php?t=479 ). In order for the ground textures to appear above the default ground you had to specify a zbias-layer number > 0. But in some cases you had the problem of buildings dissapearing into the ground. Now we 'think' we have found the solution for this problem.
As far as we know, the problem will probably be caused by the building textures that have a lower zbias layer than the ground textures. So if your ground polygons have a zbias layer of 1 and your buildings don't have a zbias layer assigned (so default = 0) then they will dissapear into the ground, because the ground has a 'higher drawing priority' than the buildings. Thinking about this, we assigned a higher zbias layer value to the building textures. So for example:
ground zbias layer 1
buildings zbias layer 5
When you go up, you will see that the building doesn't dissapear into the ground anymore, because the building has a higher drawing priority (zbias 5) than the ground.
We have tested multiple values for the zbias layer numbers, and we found out that your building textures should have a zbias value < 15. When you assign a value between 15 and 25, then your building even appears in front of the clouds (which is not desired off course).
We still have to test a lot, but a good example should be like this:
zbias layer 1: ground
zbias layer 2: apron
zbias layer 3: taxiways
zbias layer 4: lines
...
zbias layer 9: buildings
That way everything should be drawn in the right order.
Thomas