https://www.fsdeveloper.com/forum/t...cts-in-sbuilderx-for-katl.444877/#post-817563
Hi Gary,
I've read your post and I had a hard time understanding some of the discussion but I think I understand it now. I wanted to discuss what I've done so far and make sure I'm using TMFviewer and SBuilderX correctly. From what I understand when using the tmfviewer, I gather the Guid information based on the texture of that freeway. I right clicked on the line vector and this is the information I get after looking it up in the list of Guids you provided:
Roads_Concrete_6_Lanes_Divided_Median
473EE5CF-29DB-4DC1-B120-B53613A7BA06
That is a
RDX *.SHP Road GUID; one must distinguish this from a
FWX *.SHP Freeway Traffic GUID.
Road textures do not include '
moving' lower detail vehicles, which are placed separately via
FWX Freeway Traffic vectors.
Also, be aware that
FWX *.SHP Freeway Traffic vector poly-lines also use a letter to designate moving traffic
'direction'.
https://www.fsdeveloper.com/forum/t...cts-in-sbuilderx-for-katl.444877/#post-817563
I had a hard time figuring out what all these line represent but I guess I got the right area. I decompiled it using the CVX Extractor and Append it to SBuilderX as you discussed.
I was glad that I can use SbuilderX aerial image to help me with the use of the road vectors because it's very difficult to determine where all these roads are going without a map image underneath them. After viewing this, I've noticed that some of the roads and highways have been rerouted and there are a few that I need to get rid of.
The roads I have highlighted in green are the ones I need to get rid of.
To get rid of them, do I just simply right click and click Delete, or do I exclude them using the exclude tool at the top in SBuilderX menue. Notice the highway that goes around the west side of the airport runway 10. I assume I just add a vector to that using the correct Guid.
Ken.
During the 'Append' of CVX vectors from ESRI
*.SHP files, one must carefully choose the 'tool-tip' attribute text and color that
SBuilderX will display in the work-space for properties of the 'imported' vector objects.
I recommend using SDK CVX vector attribute ID text and colors in
SBuilderX which are identical to those seen in FS / P3D SDK SDK TmfViewer.
FLX Flattens / Airport Background / Boundary *.SHP files:
SBuilderX Menu > File > Append > ESRI
*.SHP...
< "SBuilderX: Append Shapefile" dialog opens >
In
SBuilderX: Append Shapefile dialog: Browse / Select:
FLX2520.shp > click [
Open]
< "SBuilderX - Appending a Polygon Shapefile" dialog opens >
In "SBuilderX - Appending a Polygon Shapefile" dialog:
Under "
Name or Label of Imported Polys" > "
Get from this Field" pick-list" > choose "
GUID"
In "SBuilderX - Appending a Polygon Shapefile" dialog:
Under "
Altitude and Color of Imported Polys" > "
Color (Click to change)" > click [
Colored square]
< "SBuilderX - Color and Transparency" dialog opens >
In "SBuilderX - Color and Transparency" dialog > click Yellow (Light: - set RGB: 255,255,0)
In "SBuilderX - Color and Transparency" dialog > "Set Transparency": type 64 in text box to Right of slider; click [OK]
FWX Freeway Traffic *.SHP files:
SBuilderX Menu > File > Append > ESRI
*.SHP...
< "SBuilderX: Append Shapefile" dialog opens >
In
SBuilderX: Append Shapefile dialog: Browse / Select:
FWX2520.shp > click [
Open]
< "SBuilderX - Appending a Line Shapefile" dialog opens >
In "SBuilderX - Appending a Line Shapefile" dialog:
Under "
Name or Label of Imported Lines" > "
Get from this Field" pick-list" > choose "
Traffic Dir"
In "SBuilderX - Appending a Line Shapefile" dialog:
Under "
Altitude and Color of Imported Lines" > "
Color (Click to change)" > click [
Colored square]
< "SBuilderX - Color and Transparency" dialog opens >
In "SBuilderX - Color and Transparency" dialog > click Red (Light: - set RGB: 255,0,0)
In "SBuilderX - Color and Transparency" dialog > "Set Transparency": type 64 in text box to Right of slider; click [OK]
RDX Road *.SHP files:
SBuilderX Menu > File > Append > ESRI
*.SHP...
< "SBuilderX: Append Shapefile" dialog opens >
In
SBuilderX: Append Shapefile dialog: Browse / Select:
RDX2520.shp > click [
Open]
< "SBuilderX - Appending a Polygon Shapefile" dialog opens >
In "SBuilderX - Appending a Line Shapefile" dialog:
Under "
Name or Label of Imported Lines" > "
Get from this Field" pick-list" > choose "
GUID"
In "SBuilderX - Appending a Line Shapefile" dialog:
Under "
Altitude and Color of Imported Lines" > "
Color (Click to change)" > click [
Colored square]
< "SBuilderX - Color and Transparency" dialog opens >
In "SBuilderX - Color and Transparency" dialog > click Red (Dark: - set RGB: 192,0,0)
In "SBuilderX - Color and Transparency" dialog > "Set Transparency": type 255 in text box to Right of slider; click [OK]
One can use and modify Appended vector objects in
SBuilderX Polygon Tool or
Line Tool mode with optional context menu choices and/or letter Key presses to convert Polygons to Lines, Break, Join, Insert vertex points, Delete vertex points etc.
If an isolated Poly-line segment can be safely deleted without losing other connected portions of the overall larger vector object, be certain that it is selected properly (the Poly-line turns
Green with
Red vertex points), then press < Delete > Key.
You will find more details on the
SBuilderX Polygon Tool or
Line Tool mode special functions accessed from context menu and letter Key presses in the
SBuilderX 'Help'
*.CHM file via:
SBuilderX Menu > Help > {Search Tab} query string:
Polygon > click:
"Working with Points, Lines and Polygons"
Before attempting to perform these tasks, you should also study a tutorial by Luis Feliz-Tirado (aka "
LFT") for details on how to do this; of particular note would be information on "
Roads" and "
Drawing Freeway Traffic" in:
Terrain Design for Flight Simulator X
https://library.avsim.net/esearch.php?CatID=fsxsd&DLID=141643
NOTE: To represent 2-Way (aka "
Bidirectional")
Freeway Traffic, use (
2)
or more separate FWX vector poly-lines with the appropriate letter to designate intended display of traffic movement '
Direction' in FS / P3D at run time:
- one-way going
from (
F) the starting point of the line;
- one-way going
towards (
T) the starting point of the line.
PS:
SBuilderX can save work by reversing the sequence of vertex points in Poly-Lines:
In the
SBuilderX Help
*.CHM file via:
SBuilderX Menu > Help > {Search Tab} query string:
Polygon > click:
"Working with Points, Lines and Polygons"
Under the section "
Set Width":
"Vector Lines (roads, shorelines, railroads) have a fixed width in FS that is defined in the terrain.cfg file. You can change the displayed width of these Lines in SBuilderX so that they are easier to see in your project, but this will not change the width of the terrain element in FS. You can also define the width of other types of Lines (for example, textured Lines) - just right-click on the Line segment and select Set Width... from the menu:
You can set the width of the entire Line (constant width) or of the Start and End Points. Be sure to press Set to confirm your changes. You can also
reverse the direction of the Line in this dialogue"
Hope this helps a bit more.
GaryGB