- Messages
- 374
- Country
Hi there,
I've correctly placed a ortophoto using TexPoly which produce even the source of bgl in scasm format:
As my scenery starts with 19th layer I would place this as 18th. How can I tweak this?
Another question: this will be a groundpoly which means that i cannot add autogen object. Is there a tricky way to "convert" my polygon to be autogen-friendly?
thanks!
I've correctly placed a ortophoto using TexPoly which produce even the source of bgl in scasm format:
Code:
Header( 1 +49:40:51.6492 +48:40:51.6492 +001:00:00.0000 -001:00:00.0000 )
LatRange( +48:40:51.6492 +49:40:51.6492 )
Area( B +49:10:32.6492 -000:26:27.8420 80 )
AddMountain( :SHADEDTEXPOLY )
Jump32( :fin )
LayerCall( :SHADEDTEXPOLY 17 )
:SHADEDTEXPOLY
Perspective
RefPoint( 2 :fin_POLY 1 +49:10:32.6492 -000:27:26.8420 v1= 0 v2= 0 E= 0077.0 )
Jump( :suite )
:fin_POLY
Return
:suite
Transform_Mat( a 0 0 0 0 0 0 )
;## DEFPOINTS###
VecPoints( p 0
-922 1 1024 65 160 ; 0
-410 1 1024 65 160 ; 1
102 1 1024 65 160 ; 2
614 1 1024 65 160 ; 3
1126 1 1024 65 160 ; 4
-922 1 512 65 160 ; 5
-410 1 512 65 160 ; 6
102 1 512 65 160 ; 7
614 1 512 65 160 ; 8
1126 1 512 65 160 ; 9
-922 1 0 65 160 ; 10
-410 1 0 65 160 ; 11
102 1 0 65 160 ; 12
614 1 0 65 160 ; 13
1126 1 0 65 160 ; 14
-922 1 -512 65 160 ; 15
-410 1 -512 65 160 ; 16
102 1 -512 65 160 ; 17
614 1 -512 65 160 ; 18
1126 1 -512 65 160 ; 19
-922 1 -1024 65 160 ; 20
-410 1 -1024 65 160 ; 21
102 1 -1024 65 160 ; 22
614 1 -1024 65 160 ; 23
1126 1 -1024 65 160 ; 24
0 1 0 65 160 ; 25
)
;## POLYGONS ##
LoadBitmap( 0 L5 EF 60 140 60 caen00.bmp )
ShadedTexPoly( au
15 0 255
16 255 255
21 255 0
20 0 0
)
...
As my scenery starts with 19th layer I would place this as 18th. How can I tweak this?
Another question: this will be a groundpoly which means that i cannot add autogen object. Is there a tricky way to "convert" my polygon to be autogen-friendly?
thanks!
Last edited: