Sign in to follow this  
rhumbaflappy

IS THERE A WAY... (VTP STUFF)

Recommended Posts

Is there a way to, let's say make a poligon I created with regular scasm code and make it a VTP code without having to use any other programs or calculations, but just editing a text files? Bellow is a code is someone could make an example great. Thanks all,Leandro 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

Share this post


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

Nope, it is not possible to do it without using another program or doing any calculations. That's because the two types op polygons use completely different coordinate systems.The easiest way to transform this SCASM code into a VTP polygon is used SCM2XY. I think you can find it in the library or otherwise there is a link in a post about this tool that was posted a week ago or so.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

Hi GrandeAmigo.Chris Wright has been developing AutoASM for use with LWM polys, and now VTP lines as well.In the earlier stages of development, Chris had an option to use a list of Lat-Long points to define an LWM poly... and that could get you a flatten, after some cut'n'paste with the SCASM code. I believe that function is still in his program.http://www.kline.demon.co.uk/AutoAsmV05.zipDick

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