Real time 3D map using WebGL

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.

No problem. I believe You can fix it in near future. Ther are some important point of Interest whoch need it (stadions).

regards,
Marek

Maybe there is no name for this kind of roofs. As descriped in the document in Point 7, these forms are grown up through the addition of extensions f.e.

The method ist very interesting an allows a lot of shapes to create. But it could be to specific for the OSM commuity. But I think even this kind of modelling has no possibility to create the roof that I have posted. Until now I’ve seen nowhere a 3D model for this roof.
The point is that there is a ridge which is not at the top of roof but splitted from the middle of one side. I fear even even the descriped process in the document would create a splitted roof.

Marek, with S3DB there are still lots things that need to be addressed on the implementation side before I would approach more advanced themes. This could be worked out on the wiki in my opinion. If there will be a meeting I might attend if time permits, but for future 3D development I’m staying a side-line viewer for now :slight_smile:

… maybe should start a 3D mailing-list instead of being constantly off-topic in this thread

+1 (or a dedicated thread on this 3D forum so we could touch more osm contributors)

things-change: the first part I mentioned as an example how one could extract a likely rectangle subdivision from the outline. the other part is to handle the constraint that the smaller roof must connect with its ridge to the edge of the main roof - with this constraint height of both roofs(parts) could be inferred automatically as there seems to be only one solution :slight_smile:

cmif4: for my interpretation of an open dome no skeleton is needed. when the center is inside the inner ring:
1 connect lines from center to all points in outer ring
2 clip lines to building footprint
3 interpolate height along lines - this way the height is constant at the inner ring

I’ll try that soon

Though when center is not inside the inner ring (or there are more inner rings) things get more complicated. Then one could build the triangle mesh for the rounded dome shape (as usual) and then insert the lines from the inner rings, put all that in a constrained delaunay triangulation and filter out the triangles inside the hole afterwards.

cmif4,
look here:
http://www.openstreetmap.org/browse/way/79799800
There is no right interpretation in 3D.
A bug?

Regards,
Marek

As already said few post before, for now we don’t handle roof:shape when polygons have holes.
The building part http://www.openstreetmap.org/browse/way/244031566 makes a hole on the outline when we merge building relation so outline roof shape is not handled.

I am currently working on buildings roof it should work in a few days, i already got dome, skillion and pyramidal working with holes (like the Pantheon in Roma).