Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Texturing Ground...Need help!

Featured Replies

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:

  • Commercial Member

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]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

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!?

  • Commercial Member

Then the blurred will probably have to do with the texture and not with the way you place it.Have you tried to use it without the mipmaps?Arno


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

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

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

  • Commercial Member

Have you tried the resample method then? This allows you to place a photo on the mesh?Arno


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

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

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

  • Commercial Member

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]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

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

  • Commercial Member

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]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.