SBuilder

General discussion about Scenery Design. Questions about SBuilder for Flight Simulator FS2004.
User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Post by Luis Sa » Fri May 21, 2004 10:27 am

Hello Anders,

Further to my answer ... I do not know the reason for problem 3. I suspect that may be you have 2 points very near each other that confuse SBuilder in keeping the orientations. In Line Tool I added a Check command so that by using the arrows (up down to go through lines and left right to go through points in a line) the user can verify the points in a line. For example if you are importing a road from a GIS map and if the road is 20 meters wide, there is no need (it only make FS slower) to have points 1 meter from each other. If that is the case you just press the arrow and when you see the "next point" very near the "last one" you just press Delete.

If you tell me that errors 2 and 3 could be caused by very near points with edges crossing edges, may be I could nake an automatic checking both for polys and lines.

Regards, Luis

Anders D
Posts: 2
Joined: Fri May 21, 2004 6:27 am
Location: Sweden

Post by Anders D » Fri May 21, 2004 6:21 pm

Hello Luis,

Thanks for your quick respons and all the help.

Problem 1 is fixed in the new version, I can cofirm that.. Thanks

I can confirm that problem 3 is caused by very near points in my imported data. I have more then 3000 polygons in me scenery so i would be a very happy man if you find a way to do an automatic checking for polys.

Concerning problem 2 i havent found what cause the problem but i have been abel to simplify a polygon to just 4 points and still have the problem there.

//-----------------------------------
[Main]
CopyRight=PTSIM
Name=FILL_ERROR
NoOfMaps= 0
NoOfPhotos= 0
NoOfLands= 0
NoOfLines= 0
NoOfPolys= 1
NoOfWaters= 0
NoOfObjects= 0
NoOfFills= 0
NoOfExcludes= 0
NoOfMeshes= 0
NoOfLCIs= 0
PhotoSeasons= 1281
BGL1Folder=
BGL2Folder=
LatDispCenter= 62.9169638767298
LonDispCenter= 17.9047315621717
LatLandCenter= 62.3333333
LonLandCenter= 17.1666667
ClassGridVIEW=True
Zoom= 32

[Poly.1]
Name=205_Points_Poly
Type=LWM//Water//-9999//
Color=16711680
NoOfPoints=4
Lat1= 62.9163769849642
Lon1= 17.8980855301876
Lat2= 62.9245018395852
Lon2= 17.914064148477
Lat3= 62.9241943359375
Lon3= 17.9185569943406
Lat4= 62.9174743674872
Lon4= 17.9173435948063
//----------------------------------------

I hope this helps

//Anders

User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Post by Luis Sa » Sun May 23, 2004 12:08 am

Hello Anders, (and Horst if you see this),

Thank you for the file! I also got one polygon with 3 points which generates the extra fill! I was going through the code last night and I found that my routine to detect if a "Point is in the interior of a Polygon" sometimes fails. I will check it this afternoon and I am confident that I will discover the bug.

Meanwhile I will implement the "manual point checking for polygons". I am happy that you refer this as I was thinking in making this facility hydden (no visible command button to invoke it).

Regards, Luis

Post Reply