Comments on: Bezier Curved Roads From OSM https:/2011/08/bezier-curved-roads-from-osm/ Developer resources for the X-Plane flight simulator Sun, 28 Aug 2011 00:43:35 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Ben Supnik https:/2011/08/bezier-curved-roads-from-osm/#comment-2701 Sun, 28 Aug 2011 00:43:35 +0000 http://www.x-plane.com/blog/?p=3660#comment-2701 In reply to Flightime56.

Well, theoretically anyone could create new tiles – the code to create the tiles is open source, and pretty much all of the data is publicly available. We may be able to help in some way. But the road data you get from us undergoes a fairly different process than Osm2XP. We’ll find some way to cope with OSM – but I can’t map out that entire process now.

]]>
By: Flightime56 https:/2011/08/bezier-curved-roads-from-osm/#comment-2699 Sun, 28 Aug 2011 00:30:15 +0000 http://www.x-plane.com/blog/?p=3660#comment-2699 Could you Ben update the OSM data directly, I am using Osm2XP (but not to successfully as it kills other scenery around it), or is the OSM data burnt directly into the tiles, which is good in it can’t be ruined accidently or bad if it is not updated for 3 or more years

]]>
By: Ben Supnik https:/2011/08/bezier-curved-roads-from-osm/#comment-2695 Sat, 27 Aug 2011 22:19:22 +0000 http://www.x-plane.com/blog/?p=3660#comment-2695 In reply to David Troyer.

Hi David,

Sorry to beat you over the head with this but I really have to be absolutely clear on this.

No. You cannot expect to receive the latest OSM with each release. You cannot expect any updates to the global scenery.

LR has _never_ at any point indicated publicly that we will update the global scenery post ship.

We _may_ decide to do that at some point; many people have asked for it and it would be nice.

But I need to make clear that we are _not_ advertising scenery updates with the sim.

The reason I have to bash on this is simple: I don’t want anyone to buy X-Plane and then come to us and go “I payed XXX, and you promised me free updates to the global scenery.” We have made no such promise. Maybe in the future, but we have not yet signed up for this.

cheers
Ben

]]>
By: David Troyer https:/2011/08/bezier-curved-roads-from-osm/#comment-2681 Sat, 27 Aug 2011 17:13:07 +0000 http://www.x-plane.com/blog/?p=3660#comment-2681 So can we still expect to receive the latest OSM with each release? It seems less likely with conversion plans.

]]>
By: Ben Supnik https:/2011/08/bezier-curved-roads-from-osm/#comment-2668 Sat, 27 Aug 2011 04:56:41 +0000 http://www.x-plane.com/blog/?p=3660#comment-2668 In reply to Nelson.

The simplification is more complex than DP because we have to keep the roads topologically correct – that is, we can’t simplify such that two non-crossing roads simplify into an intersection. The algorithm we use comes from a paper whose title I can’t recall, but I think it’s cited in the scenery tools source. (Of course, the source is there too if you want to read it.) We use a Delauney triangulation – I think I might have blogged it.

http://hacksoflife.blogspot.com/2011/05/mesh-simplification-part-iii.html

]]>
By: Nelson https:/2011/08/bezier-curved-roads-from-osm/#comment-2667 Sat, 27 Aug 2011 04:49:50 +0000 http://www.x-plane.com/blog/?p=3660#comment-2667 Do you use something like Douglas–Peucker first (to simplify the points) and then convert them to Bézier?

]]>
By: Ben Supnik https:/2011/08/bezier-curved-roads-from-osm/#comment-2666 Sat, 27 Aug 2011 04:29:36 +0000 http://www.x-plane.com/blog/?p=3660#comment-2666 In reply to James.

Yeah – for users who can afford to crank settings, we can always subdivide the beziers into a larger number of small segments (since the graphics card is going to need lines and not curves in the end). So this gives us scalability and the ability to make a really nice looking high-end visualization. We’re already pulling the same trick with airports.

]]>
By: James https:/2011/08/bezier-curved-roads-from-osm/#comment-2665 Sat, 27 Aug 2011 04:18:56 +0000 http://www.x-plane.com/blog/?p=3660#comment-2665 I’d assume that another benefit of starting with bezier paths is that you might very well end up with better looking tracks… even though the finished product is still raster data. The OSM data seems to be a sequence of dots connected by straight lines – not smooth.

Is that assumption correct?

]]>