Light map

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
Spiroman
Posts: 2
Joined: Mon Aug 22, 2011 2:45 am

Light map

Post by Spiroman » Sat Aug 27, 2011 3:28 am

This is my first post here. I searched the forums and looked through all 9 pages trying to find reference to creating a "Light Map". I apologize if this has been covered elsewhere.

I use SBuilderX to view the background. I made a map from the background (Filename.BMP) a 24 bit .BMP file. Compiled this into "Filename.BGL" This worked perfect. I then created a "Blend Mask" (Filename_B.TIF) 8-bit .TIF file. Adjusted the "Filename.INF file. Compiled this new .INF with Resample.EXE. Perfect. Copied the original map file (Filename.BMP) and saved it as "Filename_LM.BMP) 24 bit .BMP. Used Photoshop Elements to darken "Filename_LM.BMP significantly. Adjusted the "Filename.INF". Using "Resample.EXE" the "Filename.INF" compiled with no errors.. When I view the area in FSX in daytime, it's just like I hoped. But, when I view the area at night it seems to ignore the darkened "Filkename_LM.BMP" and continues to show the daylight textures.

Here is my .INF:

[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "MAS_BowmanFlats.BMP"
Variation = All
Channel_BlendMask = 3.0
NullValue =
SamplingMethod = Gaussian
ulyMap = 37.7066399780169
ulxMap = -120.097045898438
xDim = 2.68220901489258E-06
yDim = 2.12205234571827E-06

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "MAS_BowmanFlats_LM.BMP"
Variation = Night
Channel_BlendMask = 3.0
NullValue =
SamplingMethod = Gaussian
ulyMap = 37.7066399780169
ulxMap = -120.097045898438
xDim = 2.68220901489258E-06
yDim = 2.12205234571827E-06

[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "MAS_BowmanFlats_B.TIF"
Variation = All
NullValue =
SamplingMethod = Gaussian
ulyMap = 37.7066399780169
ulxMap = -120.097045898438
xDim = 2.68220901489258E-06
yDim = 2.12205234571827E-06

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

I did a similar test last week with all the variations (_su, _sp, _wi, _fa, _B, _W & _LM) it all worked as described.

Can't figure out what I've done wrong this time.

rhumbaflappy
Posts: 420
Joined: Sat Oct 16, 2004 10:11 pm

Re: Light map

Post by rhumbaflappy » Mon Aug 29, 2011 11:54 am

A quick guess:

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "MAS_BowmanFlats.BMP"
Variation = DAY
Channel_BlendMask = 3.0
NullValue =
SamplingMethod = Gaussian
ulyMap = 37.7066399780169
ulxMap = -120.097045898438
xDim = 2.68220901489258E-06
yDim = 2.12205234571827E-06


Dick
Dick

Spiroman
Posts: 2
Joined: Mon Aug 22, 2011 2:45 am

Re: Light map

Post by Spiroman » Mon Aug 29, 2011 1:44 pm

RhumbaFlappy:
Boy, do I have egg on my face or what? You hit it right on the head! Thanks very much.

Spiroman

Post Reply