photoreal scenery night and day problem

This is the Forum to discuss the use of SBuilderX (version 3.10 and above). For previous versions of SBuilder please use the "SBuilder for Flight Simulator FS2004" forum.
Post Reply
bigguy54
Posts: 4
Joined: Wed Dec 14, 2011 4:21 am

photoreal scenery night and day problem

Post by bigguy54 » Mon Aug 13, 2012 8:31 am

Hi . I am trying to make photo-real scenery for the area that I live in . I don't have any problems getting the map from the sbuilderx tile server infact I like using The second method for creating custom ground textures. I can compile the scenery if I don't do any thing to the map that I download. where I run into problems is when I try to edit the L18X112468X112495Y196256Y196275.bmp file for the night vareant . Here is what I do with the file .
I open a program called Gimp2 it is a graphic editing program. then I open the L18X112468X112495Y196256Y196275.bmp and edit it to produce the night efect. then I save the file as C:\sbuilderx\tools\work\ L18X112468X112495Y196256Y196275.tif . After I do this I run sbuilderx and load my project . I then goto the map properties and select L18X112468X112495Y196256Y196275.tif as the night vareant . the night varent has all the proper latatude and Longatude of the bmp file. but if I select all maps and try to compile my project I see the dos window for only 1 /10th of a second. I don't know what type of info you need from me to figure out what I am doing wrong I will try to provide any thing you need. thank you for your help

User avatar
luisfeliztirado
Posts: 436
Joined: Sun May 15, 2005 9:15 am
Location: Santo Domingo

Re: photoreal scenery night and day problem

Post by luisfeliztirado » Mon Aug 13, 2012 3:05 pm

A strange problem. Could you please post the contents of the inf file that is created when you try to compile? If, that is, there is one.

Best regards.
Luis

bigguy54
Posts: 4
Joined: Wed Dec 14, 2011 4:21 am

Re: photoreal scenery night and day problem

Post by bigguy54 » Tue Aug 14, 2012 6:12 am

here is a copy of the only inf file I can find
photo01.inf

[Source]
Type = MultiSource
NumberOfSources = 2

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "L18X112468X112495Y196256Y196275.BMP"
Variation = Day
NullValue = 255,255,255
SamplingMethod = Gaussian
ulyMap = 41.1621139444444
ulxMap = -102.774353027778
xDim = 2.68221028645876E-06
yDim = 2.0194607204857E-06

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "L18X112468X112495Y196256Y196275night.tif"
Variation = Night
NullValue = 255,255,255
SamplingMethod = Gaussian
ulyMap = 41.1621139444444
ulxMap = -102.774353027778
xDim = 2.68221028645876E-06
yDim = 2.0194607204857E-06

[Destination]
DestDir = "."
DestBaseFileName = "Photo01"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85

Like I said. I can compile the daytime map just fine but once I create a night tif file and add it to it it will not compile

I am running FSX pro plus acceleration
on a 3 gig intel dual core with 2 gig of ram running windows 7 32 bit

I would think that this would be a relatively painless process. I have read the tutorials on sbuilderx and looked at the help files. but haven't found the answer. I can send you the maps and the project file if you would like me to me to.

thanks for all your help
Roger

User avatar
luisfeliztirado
Posts: 436
Joined: Sun May 15, 2005 9:15 am
Location: Santo Domingo

Re: photoreal scenery night and day problem

Post by luisfeliztirado » Tue Aug 14, 2012 4:15 pm

Thank you, Roger. A very strange problem. The inf file certainly seems correct. It might help to know the error that is returned when the compilation fails.

Could you please open a command window and run the compilation manually so that you can see the error?

Best regards.
Luis

jyarddog
Posts: 67
Joined: Mon May 18, 2009 3:19 am

Re: photoreal scenery night and day problem

Post by jyarddog » Tue Aug 14, 2012 6:17 pm

Luis, Roger- I noticed Roger saved his night bmp as a tif. Shouldn't that remain a bmp such as.... filename_LM.bmp. Then I think he is supposed to right click the map and choose the LM browsefor the LM filename, then compile?

This way he would have 3 sources. 1.bmp, 2. the _LM, 3. the tif.

bigguy54
Posts: 4
Joined: Wed Dec 14, 2011 4:21 am

Re: photoreal scenery night and day problem

Post by bigguy54 » Wed Aug 15, 2012 6:29 am

Ok I will do a cmd window or dos window compile and post the results.

bigguy54
Posts: 4
Joined: Wed Dec 14, 2011 4:21 am

Re: photoreal scenery night and day problem

Post by bigguy54 » Wed Aug 15, 2012 7:14 am

Resample Info File: 'photo01.inf'
[Source] Type = 'MultiSource'
[Source] NumberOfSources = 2
[Source1] Type = 'BMP'
[Source1] SourceDir = '.'
[Source1] SourceFile = 'L18X112468X112495Y196256Y196275.BMP'
[Source1] Layer = 'Imagery'
[Source1] SamplingMethod = 'Gaussian'
[Source1] NullValue = '255,255,255'
[Source1] ULXMAP = -102.774353
[Source1] ULYMAP = 41.162114
[Source1] XDIM = 0.000003
[Source1] YDIM = 0.000002
[Source1] Variation = 'Day'
[Source2] Type = 'BMP'
[Source2] SourceDir = '.'
[Source2] SourceFile = 'L18X112468X112495Y196256Y196275night.tif'
[Source2] Layer = 'Imagery'
[Source2] SamplingMethod = 'Gaussian'
[Source2] NullValue = '255,255,255'
[Source2] ULXMAP = -102.774353
[Source2] ULYMAP = 41.162114
[Source2] XDIM = 0.000003
[Source2] YDIM = 0.000002
[Source2] Variation = 'Night'
Unable to open data source 'C:\SBuilderX313\Tools\Work\L18X112468X112495Y196256Y
196275night.tif'.
Failed to create data source.

User avatar
luisfeliztirado
Posts: 436
Joined: Sun May 15, 2005 9:15 am
Location: Santo Domingo

Re: photoreal scenery night and day problem

Post by luisfeliztirado » Wed Aug 15, 2012 3:33 pm

As mentioned, you might try making your night image as a normal bitmap (BMP) format and see if that works better.

Best regards.
Luis

Post Reply