You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#151 2013-10-25 20:42:38

HolgerJeromin
Member
Registered: 2011-05-25
Posts: 25

Re: Real time 3D map using WebGL

I would love to see building:levels rendered as rows of windows. I boosts the visual result further IMO:

http://maps.osm2world.org/?h=128&view=N … ers=B0TTFF

building:material=glass with levels should be rendered as seen here:
http://maps.osm2world.org/?h=128&view=N … ers=B0TTFF

BTW I like the rain feature :-)

Offline

#152 2013-10-28 08:14:48

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

What´s about: colour for element barrier=city_wall pleease add also for this element the function area=yes if not already implemented.

Regards,
Marek

Offline

#153 2013-10-28 10:16:14

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

HolgerJeromin wrote:

I would love to see building:levels rendered as rows of windows. I boosts the visual result further IMO

This is not planned as we think this is ugly

marek kleciak wrote:

What´s about: colour for element barrier=city_wall pleease add also for this element the function area=yes if not already implemented.

The colour tag will be handled it has already been asked on our support, area=yes is already handled as barrier tags use the same code path.

Offline

#154 2013-10-28 11:16:03

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

Is it possible to show natural:water + water:reflecting_pool different than the other water areas? It has to be something like half water/half mirror.

Offline

#155 2013-10-28 11:32:13

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

things-change wrote:

Is it possible to show natural:water + water:reflecting_pool different than the other water areas? It has to be something like half water/half mirror.

It is not possible as it is done in fragment shader.

Offline

#156 2013-10-28 11:38:17

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

The colour tag will be handled it has already been asked on our support, area=yes is already handled as barrier tags use the same code path.

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..

Offline

#157 2013-10-28 15:46:33

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

Ekhm:
http://map.f4-group.com/#lat=41.8981300 … hi=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 … i=-179.687 (Poland, Kraków)

Last edited by marek kleciak (2013-10-28 16:01:28)

Offline

#158 2013-10-29 09:56:33

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

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

Offline

#159 2013-10-29 10:03:48

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

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 hmm

Offline

#160 2013-10-29 12:31:25

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

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

Last edited by marek kleciak (2013-10-29 12:34:01)

Offline

#161 2013-10-29 14:03:10

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

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.

Offline

#162 2013-10-29 18:39:25

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,839
Website

Re: Real time 3D map using WebGL

marek kleciak wrote:

What about chimneys defined as point with 2 radius:

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


OSM in 3D: OSM2World

Offline

#163 2013-10-29 19:23:38

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

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.

Offline

#164 2013-10-29 19:55:20

j3d
Member
Registered: 2013-05-07
Posts: 53

Re: Real time 3D map using WebGL

marek kleciak wrote:

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

Is difference between gabled and hipped for this specific outline?

http://opensciencemap.org/~jeff/test/#s … 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.

roof_skeleton.png

Last edited by j3d (2013-10-29 20:30:20)

Offline

#165 2013-10-29 20:23:39

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: 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.

Offline

#166 2013-10-30 10:11:19

things-change
Member
Registered: 2011-10-27
Posts: 351

Re: Real time 3D map using WebGL

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 … hi=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!? neutral

Offline

#167 2013-10-30 10:37:12

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

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.

Offline

#168 2013-10-30 10:41:24

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

I currently try to figure out to create proper 'gabled' roof types from the outline skeleton.

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

Offline

#169 2013-10-30 13:16:55

j3d
Member
Registered: 2013-05-07
Posts: 53

Re: Real time 3D map using WebGL

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

Offline

#170 2013-10-30 13:40:13

j3d
Member
Registered: 2013-05-07
Posts: 53

Re: Real time 3D map using WebGL

@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/c … -bldgs.pdf

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

Offline

#171 2013-10-30 14:28:53

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

j3d, things-change, cmif4

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

Offline

#172 2013-10-30 15:22:27

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

marek kleciak wrote:

I can organize the conference in Erlangen / Germany.
What do You think?

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.

Offline

#173 2013-10-30 15:30:14

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

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

Last edited by marek kleciak (2013-10-30 15:31:03)

Offline

#174 2013-10-30 15:37:31

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: Real time 3D map using WebGL

Funny example: Pantheon in Roma:
http://map.f4-group.com/#lat=41.8980029 … hi=150.527
ther is n  implementation of dome with opening inside wink

Offline

#175 2013-10-30 16:29:48

cmif4
Member
From: Paris
Registered: 2013-06-10
Posts: 121
Website

Re: Real time 3D map using WebGL

marek kleciak wrote:

Funny example: Pantheon in Roma:
http://map.f4-group.com/#lat=41.8980029 … hi=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.

Offline

Board footer

Powered by FluxBB