Sign in to follow this  
Guest

Texturing Ground...Need help!

Recommended Posts

I`ve tried everything, but I really can`t get it work. Could somebody please help me? I`m trying to place a 1024x1024 pixels bitmap on a ground so it will look like default terrain, not blurred. I would really be thankful if anybody would take a minute and write an SCASM source for this.Here are the coordinates:

Share this post


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

Try this:

Area( N57:47:09 E23:15:18.6 20 )LayerCall( :layer 8 )Jump( : ):layerRefPoint( 7 :return 1 N57:47:09 E23:15:18.6 v1=20000 v2=1000 )Points( -100 0  100-100 0 -100 100 0 -100 100 0  100)LoadBitmap( 0 5 EF 0 0 0 bitmap.bmp )TexPoly( m 0 32767 0 00   0 2551   0   02 255   03 255 255 ):returnReturnEndA

This will make a simple rectangle on the ground with the complete bitmap in it. Because you only need the center coordinate for the SCASM source I am not sure if the bounds fit your coordinates, but by changing the scale (the parameter that is now 1 in the RefPoint command) you can reshape it. At the moment it is a rectangle of 200x200 meters, but you can make it any size that way (or by changing the coordiantes in the points list of course).If the mesh you place it on is not flat you will need to add a flatten too.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

Thank You for the fast answer, but the texture still is "blurred" (see image below). I know there is a way to make it look like default texture, but how!?

Share this post


Link to post
Share on other sites

Yes, I have tried everything. FS probably recognize it as a usual poly, not as a phototerrain.

Share this post


Link to post
Share on other sites

Yes, I`ve tried Terrain SDK tools with Terrabuilder, but TB just does not create needed *.bmp files :`(I`m just wondering, is here a single good person who would do that job for me? I have working on it for 12 days without any success...Anyway, if somebody`s intrested in helping very-very desperate kid, then all needed files are here:Summer texture bitmap - http://www.hot.ee/belarus/eeru_SU.bmpWater alpha - http://www.hot.ee/belarus/water.bmp*.inf file - http://www.hot.ee/belarus/eeru_SU.inf

Share this post


Link to post
Share on other sites

I haven't got my FS tools here with me on this PC, but when you just try to run that inf file with resample (so not with TB or so), it should create all the files you need. Have you tried that?I'll take the files with me to home and try it there.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

looking at ur inf, I'd say the most likely culprit is that ur area doesn't include the needed LOD 13 grid.I'll run it thru my calculator later, and be able to tell for sure, but I'd bet on it.Bob Bernstein

Share this post


Link to post
Share on other sites

OK, I tried to run your inf file with resample and it worked fine. After I converted the textures resample gave to DXT1 it showed up nice in the sim (without the alpha channel, as I didn't add that, but the idea works).So just try to run the inf file with resample and it should work.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

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