December 10, 200223 yr 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:
December 10, 200223 yr 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.ArnoMember 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
December 10, 200223 yr 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!?
December 10, 200223 yr 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?ArnoMember 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
December 10, 200223 yr Yes, I have tried everything. FS probably recognize it as a usual poly, not as a phototerrain.
December 10, 200223 yr Commercial Member Have you tried the resample method then? This allows you to place a photo on the mesh?ArnoMember 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
December 10, 200223 yr 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
December 10, 200223 yr 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.ArnoMember 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
December 10, 200223 yr 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
December 12, 200223 yr 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.ArnoMember 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