Real time 3D map using WebGL

Great.
I would suggest adding of couour tag for every possible elements. Of Course we have it more detailed for the buildings, bot there are another elements like e.g. street lamps etc…

Ekhm:
http://map.f4-group.com/#lat=41.8981300&lon=12.4763596&zoom=19&camera.theta=63.098&camera.phi=175.879
Somebody tried to make 3D model of pantheon in rom.
Please support shape “dome” for semi circular ground floor.
Steps:

  1. Approximation of circle by use of closed semi-circular polygon from the ground floor shape
  2. Use as “height” for this element calculated radius.

Resulution of segments in ground floor by use of closes multipolxgon shape which is drawn.
In z-direction resolution depend of calculated radius. In this case i would say app. 6x dividing…

Best regards,
Marek

PS: Very good 3D:
http://map.f4-group.com/#lat=50.0613940&lon=19.9377035&zoom=19&camera.theta=59.374&camera.phi=-179.687 (Poland, Kraków)

Hello cmif4,
do You already have implemented roof type “gabled” for donut topology? I mean e.g. such objects:
http://www.openstreetmap.org/browse/way/49855129

If You need help with algorithms, please ask.

Regards,
Marek

Thank you for the help proposal but we’re already updating potsgis to get the StraightSkeleton computation done on server side, then i will be in charge of the roof refactoring on client side.

I hope we won’t spent too much time on this improvement :confused:

Great.
don´t worry, it´s not so complicated… :wink:

What about **chimneys **defined as point with 2 radius:
chimney=yes
height=value
radius:ground=value
radius:top=value

colour=value
colour:roof=value

We do not handle radius key (not enough match on taginfo) but we already handle point chimney with 1m radius extruded cylinder.

I already planned a task to handle them as hyperboloids like nuclear cooling chimney.

Marek, could you please suggest new tagging ideas to the OSM community first before trying to get them into an application?

Well,
this is the 3D community discussion portal.
And, this is doocracy. The people do, what works. And this idea is obviously and comes by the way not from me.
The users from the polish community and some italian friends suggests me such solution.

Is difference between gabled and hipped for this specific outline?

http://opensciencemap.org/~jeff/test/#scale=18,rot=324,tilt=50,lat=53.01,lon=18.604

I currently try to figure out to create proper ‘gabled’ roof types from the outline skeleton. It seems to be reasonable to extend only those ridges nodes to the outline which have two incoming edges that directly connect to the outline and where the edge pair must roughly have an angle of 90 degrees and point away from the ridge.

This is the question of definition :wink:
I would suggest the use of “gabled” for this:http://www.uni-weimar.de/architektur/oekologisches_bauen/10_diplome/2002_jokisch/compound_modern.jpg (sorry for the small picture)
For “hipped” I would use simply the same rof geometry like “hipped” but with opening inside (also irregular).

Btw: very good question. Should be described with example pictures because it´s not easy to understand immediately the difference.

Again, I’m trying to draw roofs like this:

http://goo.gl/maps/QPoBs

How could this be tagged/what tags are missing in OSM to create this roof? Any ideas?

The same roof in f4map:

http://map.f4-group.com/#lat=52.2222869&lon=10.5001558&zoom=19&camera.theta=46.507&camera.phi=118.774

(view from the other side, the second brown one from the left). You see, the roof is splitted. (Turn around the map to see the hole weird thing).

btw. did f4map change anything? The two buildings top right grew up since the last few days!? :expressionless:

Well,
it´s impossible or probably impossible with the recent definition. I´m working on the new definition for such purposes.
The answer is - please wait some weeks.

Es tut mir Leid, dass ich Dir keine bessere Antwort momentan geben kann. Da tut sich aber was.

Please speek with Kendzi. He has already implemented it for every possible outline geometries.
Best regads,
Marek

@Marek, I will. We really need to have consistent recipes for the non-trivial cases

@things-change: Not sure how to name this kind of roof in natural language. The problem is more the algorithmic part. The first question is how to subdivide the outline into rectangles. Method 7. described in http://wscg.zcu.cz/wscg2003/papers_2003/g67.pdf could produce the result you wish but it also requires to provide the exact outline and height. To then exactly align the roofs automatically a shape grammar for procedural modeling is needed as described e.g. in http://www.cs.purdue.edu/homes/aliaga/cs535-12/lectures/grammars/proc-mod-bldgs.pdf

So until this might be implemented you can get things drawn with the lego style modeling and computing variables manually.

and all other collegues.
I think we need 3rd specification meeting. We know already all pros and cons from S3DB and we all see, we need more.
I can organize the conference in Erlangen / Germany.
What do You think?

Best regards,
Marek

I don’t think my company will allow me to come to Germany to discuss about it, i think we could discuss in a new topic on this forum or in some wiki talk page.

Ok, You can get the results of the discussion and implement it or not.
My experience with 3D development is - not everything can be discussed in forum topics. I mean: the time You need to get the results is extremaly long.
AND: there is still danger of wrong interpretation between editors and ar result desorientation of the users.
But You´re right. I post this idea in the new topic.

Best regards,
Marek

Funny example: Pantheon in Roma:
http://map.f4-group.com/#lat=41.8980029&lon=12.4763776&zoom=19&camera.theta=70.833&camera.phi=150.527
ther is n implementation of dome with opening inside :wink:

As we do not handle straight skeleton for now, i only support flat and skillion on polygons with holes.