Sign in to follow this  
rhumbaflappy

DISSAPEARING SCENERY

Recommended Posts

Hello guys,I've made the ground of a scenery but at certain angles it dissapears. Below is the scasm code: Header( 1 -21:37:29.005762 -21:57:28.994294 -43:12:26.961396 -43:33:57.038544 ) LatRange( -21:57:28.994294 -21:37:29.005762 ) Menu( Juiz de Fora ) Flatten( 910.742411 12 -21:47:55.273599 -43:23:16.785126 -21:47:56.198445 -43:23:9.327658 -21:47:32.152453 -43:23:6.593254 -21:47:32.961693 -43:22:58.141457 -21:47:21.863543 -43:22:56.898546 -21:47:21.054303 -43:23:5.723216 -21:47:1.516934 -43:23:3.485975 -21:47:0.938906 -43:23:10.446278 -21:47:20.129457 -43:23:12.434936 -21:47:19.089005 -43:23:21.259606 -21:47:31.343213 -43:23:21.756771 -21:47:31.458819 -43:23:14.299303 ); -----------------------------------------------------------------------------; Polygon: Polygon 6 Area( b -21:47:25.590291 -43:23:9.036714 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:25.590291 -43:23:9.036714 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 1 0 -2 6 0 11 10 0 16 15 0 21 22 0 26 28 0 29 35 0 31 44 0 33 4 0 37 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 6 7 8 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 7 Area( b -21:47:24.367995 -43:23:8.514988 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:24.367995 -43:23:8.514988 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 4 0 0 -5 0 3 -14 0 8 -21 0 13 -25 0 21 -29 0 29 -32 0 42 -35 0 3 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 6 7 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 8 Area( b -21:47:24.621773 -43:23:5.908290 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:24.621773 -43:23:5.908290 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 0 0 0 17 0 3 29 0 8 39 0 17 47 0 33 43 0 -6 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 9 Area( b -21:47:25.475423 -43:23:6.070913 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:25.475423 -43:23:6.070913 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 0 0 0 16 0 -10 27 0 -21 36 0 -34 41 0 -55 46 0 -5 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 10 Area( b -21:47:25.166421 -43:23:7.822036 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:25.166421 -43:23:7.822036 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 -201 0 2 -659 0 53 -656 0 83 -761 0 94 -773 0 -18 -669 0 -31 -666 0 -3 -208 0 -58 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 6 7 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 6 Area( b -21:47:28.833603 -43:23:9.371679 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:28.833603 -43:23:9.371679 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 1 0 -2 6 0 11 10 0 16 15 0 21 22 0 26 28 0 29 35 0 31 44 0 33 4 0 37 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 6 7 8 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 7 Area( b -21:47:27.690304 -43:23:8.849954 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:27.690304 -43:23:8.849954 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 4 0 0 -5 0 3 -14 0 8 -21 0 13 -25 0 21 -29 0 29 -32 0 42 -35 0 3 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 6 7 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 9 Area( b -21:47:28.718735 -43:23:6.427108 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:28.718735 -43:23:6.427108 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 0 0 0 16 0 -10 27 0 -21 36 0 -34 41 0 -55 45 0 -7 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 8 Area( b -21:47:27.924333 -43:23:6.306952 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:27.924333 -43:23:6.306952 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 0 0 0 17 0 3 29 0 8 39 0 17 47 0 33 43 0 -6 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Taxiway: Taxiway 1 Area( b -21:47:25.093459 -43:23:5.388830 20 ) RefPoint( rel :EndTaxi 0.304800 -21:47:25.093459 -43:23:5.388830 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 2 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 2 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 2 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_AREIAO.bmp ) TaxiMoveTo( 15 18 0 97 ) TaxiLineTo( -181 0 499 ) TaxiLineTo( -193 0 577 ) TaxiLineTo( -46 0 2163 ) TaxiLineTo( -313 0 2187 ) TaxiLineTo( -345 0 1827 ) StartSurface MoveTo( 0 0 0 ) EndSurface :EndTaxi EndA; -----------------------------------------------------------------------------; Taxiway: Taxiway 2 Area( b -21:47:7.134766 -43:23:8.995172 20 ) RefPoint( rel :EndTaxi 0.304800 -21:47:7.134766 -43:23:8.995172 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 2 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 2 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 2 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_AREIAO.bmp ) TaxiMoveTo( 35 -6 0 7 ) TaxiLineTo( -483 0 -4834 ) TaxiLineTo( -178 0 -4864 ) TaxiLineTo( 52 0 -2468 ) TaxiLineTo( 64 0 -2417 ) TaxiLineTo( 88 0 -2369 ) TaxiLineTo( 121 0 -2339 ) TaxiLineTo( 160 0 -2322 ) TaxiLineTo( 213 0 -2313 ) TaxiLineTo( 266 0 -2313 ) TaxiLineTo( 589 0 -2352 ) StartSurface MoveTo( 0 0 0 ) EndSurface :EndTaxi EndA; -----------------------------------------------------------------------------; Polygon: Polygon 8 Area( b -21:47:28.794554 -43:23:5.940638 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:28.794554 -43:23:5.940638 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 0 0 0 -320 0 32 -311 0 116 10 0 85 ) ConcavePoly VecPoly( au 0 1 2 3 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Polygon: Polygon 1 Area( b -21:47:26.079536 -43:23:5.571671 20 ) RefPoint( rel :TagPoly 0.304800 -21:47:26.079536 -43:23:5.571671 v1= 37040 ) IfVarAnd( :scolorA 028C 0001 ) SurfaceColor( 0 F0 ):scolorA IfVarAnd( :scolorD 028C 0002 ) SurfaceColor( 0 F0 ):scolorD IfVarAnd( :scolorN 028C 0004 ) SurfaceColor( 0 F0 ):scolorN LoadBitmap( 0 128 0 0 0 0 SBJF_ASFALTO.bmp ) Points( 0 -318 0 179 9 0 144 27 0 300 342 0 264 270 0 -393 -44 0 -355 -1 0 54 -326 0 86 ) ConcavePoly VecPoly( au 0 1 2 3 4 5 6 7 ) :TagPoly:NoRamp EndA; -----------------------------------------------------------------------------; Runway: Runway 1 Area( b -21:47:29.221786 -43:23:9.897537 20 ) LayerCall( :layer 24 ) Jump( :customrwy ):layer Runway( -21:47:29.221786 -43:23:9.897537 Altitude 911.047241 Heading 5.45 Length 5053 Width 98 ID 023 Surface -1 Markers 37 Lights 02 Threshold 00 ThrLightsN 00 ThrLightsF 00 StrobesN 0 StrobesF 0 VasiBarsN 08 VasiSlopeN 2.999 VasiSideN L-69 VasiDistN -1776 VasiSpaceN 300 VasiBarsF 00 AprlN 0 AprlF 0 ThrOffN 0 ThrOffF 0 ExtN 0 ExtF 0 ):customrwy RefPoint( rel :TagPoly 0.304800 -21:47:29.221786 -43:23:9.897537 v1= 37040 ) RotatedCall( :rot 0 0 5.45 ) Jump( : ):rot LoadBitmap( 0 128 0 0 0 0 SBJF_RUNWAY.bmp ) Points( 0 -49 0 -2526 49 0 -2526 -49 0 -1263 49 0 -1263 -49 0 0 49 0 0 -49 0 1263 49 0 1263 -49 0 2526 49 0 2526 ) TexPoly( au 0 0 0 1 63 0 3 63 255 2 0 255 ) TexPoly( au 2 64 0 3 127 0 5 127 255 4 64 255 ) TexPoly( au 4 128 0 5 191 0 7 191 255 6 128 255 ) TexPoly( au 6 192 0 7 255 0 9 255 255 8 192 255 ):TagPoly Return EndA; *** Runway altitude adjusted to area altitude *** ; -----------------------------------------------------------------------------; Exclusion Area: Exclusion Area 1 GenIncl( 0 1 -21:47:2.289940 -21:47:56.600680 -43:22:57.090752 -43:23:20.976817 )Area( 5 -21.790801 -43.385183 5 )RefPoint( rel :nosock 1.000000 -21.790801 -43.385183 v1= 1600 v2= 100 )GObj( WINDSOCK 0.000000 0.000000 0.000000 11.000000 7.000000 c5 239 197 197 ff 239 171 84 1 ):nosockEndAArea( 5 -21.789697 -43.384854 5 )RefPoint( rel :nosock 1.000000 -21.789697 -43.384854 v1= 1600 v2= 100 )GObj( WINDSOCK 0.000000 0.000000 0.000000 11.000000 7.000000 c5 239 197 197 ff 239 171 84 1 ):nosockEndA; -----------------------------------------------------------------------------; Synthetic Scenery

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Try adding a V2= with a value in yourRefPoint( rel :TagPoly 0.304800 -21:47:29.221786 -43:23:9.897537 v1= 37040 v2=xxxxx) -- try different values start with 1000, both too high will cause autogen problems and too low and the objects disappear.

Share this post


Link to post
Share on other sites

Hi GrandeAmigo.I don't think it's necessarily the lack of v2 that causes the problem, although the concensus is we should have a v2 to avoid FPS slowdowns.The old FS98 style ground polys not only need a flat surface... but need to be drawn slightly above the ground. I found this out by playing with elevated helopads... the poly needs to be about 0.075 meters above the building's roof ( and the invisible runway as well ).I'm guessing the same thing applies here. So, your Refpoint shouldn't be relative, but at an absolute elevation, slightly above the flattened ground.Dick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this