- Messages
- 93
- Country

Hey everyone,
It's been a few years since I used sceneproc, but I am trying to make a small project. I see there have been some minor changes over the last few years, but overall, it's very similar. I am trying to make some polyveg autogen and have used the Texture editor filter to detect trees,veg over a bmp. I have saved the output as a tfc. So far no probs. I have written the following code:
IMPORTINF|D:\SBX\SBX315\Tools\Work\scenproc\CYMM\inf\L16X25007X25073Y40375Y40399.INF
SPLITGRID|AGN|-113;-109;55;57
DETECTFEATURES|FTYPE="RASTER"|D:\SBX\SBX315\Tools\Work\scenproc\CYMM\tfc\trees_all.tfc|String;veg|tree|NONE
CREATEAGNPOLYVEG|veg="tree"|{43c5b4ac-0366-430c-b303-dc7c61c711a5}
EXPORTAGN|FSX|D:\P3DV4\photoscenery\CYMM\texture
--
Where the L16X25007X25073Y40375Y40399.INF contains:
[Source]
Type = MultiSource
NumberOfSources = 1
[Source1]
Type = BMP
Layer = Imagery
SourceDir = "D:\SBX\SBX315\Tools\Work\"
SourceFile = "L16X25007X25073Y40375Y40399.BMP"
Variation = All
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0
NullValue = 0,0,0
SamplingMethod = Gaussian
ulyMap = 56.6698112515327
ulxMap = -111.316223144531
xDim = 1.07288360595703E-05
yDim = 5.89805171685498E-06
[Destination]
DestDir = "D:\P3DV4\photoscenery\CYMM\scenery\"
DestBaseFileName = "Photo1"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 100
However, one running the code, I get the following output shown in the attached image. I have added the tfc file as well bit it has a txt extension so it can be added here. You'll need to change it back to tfc to view it.
This is a P3dV4 project so all my sdk is targeted there, although at this stage where the code breaks, I don't see how that would come into it yet.
Any help would be appreciated
Thanks
It's been a few years since I used sceneproc, but I am trying to make a small project. I see there have been some minor changes over the last few years, but overall, it's very similar. I am trying to make some polyveg autogen and have used the Texture editor filter to detect trees,veg over a bmp. I have saved the output as a tfc. So far no probs. I have written the following code:
IMPORTINF|D:\SBX\SBX315\Tools\Work\scenproc\CYMM\inf\L16X25007X25073Y40375Y40399.INF
SPLITGRID|AGN|-113;-109;55;57
DETECTFEATURES|FTYPE="RASTER"|D:\SBX\SBX315\Tools\Work\scenproc\CYMM\tfc\trees_all.tfc|String;veg|tree|NONE
CREATEAGNPOLYVEG|veg="tree"|{43c5b4ac-0366-430c-b303-dc7c61c711a5}
EXPORTAGN|FSX|D:\P3DV4\photoscenery\CYMM\texture
--
Where the L16X25007X25073Y40375Y40399.INF contains:
[Source]
Type = MultiSource
NumberOfSources = 1
[Source1]
Type = BMP
Layer = Imagery
SourceDir = "D:\SBX\SBX315\Tools\Work\"
SourceFile = "L16X25007X25073Y40375Y40399.BMP"
Variation = All
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0
NullValue = 0,0,0
SamplingMethod = Gaussian
ulyMap = 56.6698112515327
ulxMap = -111.316223144531
xDim = 1.07288360595703E-05
yDim = 5.89805171685498E-06
[Destination]
DestDir = "D:\P3DV4\photoscenery\CYMM\scenery\"
DestBaseFileName = "Photo1"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 100
However, one running the code, I get the following output shown in the attached image. I have added the tfc file as well bit it has a txt extension so it can be added here. You'll need to change it back to tfc to view it.
This is a P3dV4 project so all my sdk is targeted there, although at this stage where the code breaks, I don't see how that would come into it yet.
Any help would be appreciated
Thanks
Attachments
Last edited:
