<div dir="ltr"><div><div><div><div>Hi everybody.<br><br></div>Yes, Wiktor get it right. I'll just add a few thoughts:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2. It might be of some value, if the site would present where the<br>
model is used (maybe some overpass query?)<br></blockquote><br></div>Yep, it would be nice to have such statistics.<br>If models binded to osm objects via tags - it's rather easy to get statistics, <br>using Overpass or some kind of diff listener bot.<br></div>But as for me it's not a number one priority.<br><br></div>Most difficult part is:<br><br><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">There is also the issue of putting the object on the map - what<br>
physical size object has, and what's the orientation. This could be<br>
provided with any coordinate system and some conversions might be<br>
needed (proj library might assist you in this task).<br></blockquote><div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">As for scale conversions i think that the main issue would be to find
out the correct scale based on user's input, so perhaps it would be the
best to provide a unit standard (for example 1 blender unit = 1 meter)
and in this way we can defer the required scale to 3d modelers instead
of trying to guess or approximate scale.<br></blockquote> <br></div><div>From my point of view, scale isn't a big problem. As a rule, for architectural models 1unit = 1meter.<br></div><div>Orientation and matching model coordinates origin with osm object coordinates much more difficult.<br><br></div><div>I have a small propozal <a href="http://wiki.openstreetmap.org/wiki/Relation_3D:Model" target="_blank">http://wiki.openstreetmap.org/wiki/Relation_3D:Model</a> but all interesting things about it were said here <br><a href="http://forum.openstreetmap.org/viewtopic.php?id=28248">http://forum.openstreetmap.org/viewtopic.php?id=28248</a><br><br></div><div>As I think after this conversation, there is no need to use relation, or at least new relation.<br></div><div><br>Orientation could be specified on osm object via tag 3d:model:azimuth <br>and as fallback (if tag is missed) could be calculated as orientation of longest edge of bounding box.<br><br></div><div>So the hardest thing is origin.<br></div><div>For 3d models 0 point of coordinates might be located at:<br></div><div>1. the center of model<br></div><div>2. weighted center of model<br></div><div>3. at the corner of a model (to have positive values along all axises)<br></div><div><br></div><div>So first what we need to do is to choose what we use as an origin of the osm objects.<br></div><div>(I think analog of postgis ST_PointOnSurface should be good enough for this purpose<br><a href="http://gis.stackexchange.com/questions/76498/how-is-st-pointonsurface-calculated">http://gis.stackexchange.com/questions/76498/how-is-st-pointonsurface-calculated</a>).<br><br></div><div>Second, we need a tool, which allows user to move zero point of a model using 3d lib application interface.<br></div><div>It might be semitransparent model footprint above osm background.<br><br></div><div>Such tool will allows user to check and edit azimuth and model zero-point at once.<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-25 3:36 GMT+05:00 Peter Barth <span dir="ltr"><<a href="mailto:osm-peda@won2.de" target="_blank">osm-peda@won2.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kristijan,<br>
<br>
sorry for the late reply. Wiktor already answered most of your questions<br>
and gave you some more details. So I'll limit my answer to the open<br>
question.<br>
<br>
Kristijan Trajkovski schrieb:<br>
<span class="">> Also what should go into the 'managing models' part of the application?<br>
> Updating models with new versions, deleting models, something more?<br>
<br>
</span>That's what we thought of, yes. There might be even different people<br>
modelling the same object. E.g. person A and B, each one has a nice<br>
model for the Eiffel Tower. Additionally it might be a good idea to have<br>
different level of details for a model. Starting from a rough model with<br>
just a view primitives/vertices/triangles up to high detail models,...<br>
<br>
Peda<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev" target="_blank">https://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Thank you for your time. Best regards.<br>Dmitry.</div></div>
</div>