kendzi
(Tomasz Kędziora)
September 22, 2012, 11:49am
27
In new release:
completely new building builder
basic support for building as multi-polygons without holes
So you can change color, material or assign windows to single wall.
Example:
http://www.openstreetmap.org.pl/kendzi/Kendzi3d/examples/example4.osm
windows, entrance build into walls (tags building=entrance, building=window)
old:
new:
It is possible to tag mixed window and entrance with tags: width=X and height=Y
windows rows as multitextures. By assigning tag windows=X you can setup windows rows. Windows will be repeated on each level.
roof and facade colors as colored textures
support for tags: building:levels:aboveground and building:levels:underground
bugs:
it is far from ready
simple multipolybons without holes
currently all textures are mixed with color. So materials configuration need new parameter “colorable” like in osm2world
I would like to remind that this is not in ready state. So I will by grateful for any advice or bug report.
awoland
(Dmitriy)
September 24, 2012, 7:38am
28
The current version of the plugin does not support rendering multpolygon relations such as buildings (building=*) and their parts (building:part=yes) and outer contours (building=outline)?
kendzi
(Tomasz Kędziora)
September 24, 2012, 4:36pm
29
Do you have current version v111? It should support multipolygon relation with tags:
type=multipolygon
building=* or building:part=*
Please see example:
http://www.openstreetmap.org.pl/kendzi/Kendzi3d/examples/example4.osm
awoland
(Dmitriy)
September 24, 2012, 4:59pm
30
I use latest version from github .
kendzi
(Tomasz Kędziora)
September 24, 2012, 5:45pm
31
Jar on gitHub was old. I updated it. Please use JOSM plugin manager for download/update plugin. Edit > Preferences > Plugin tab
Tordanik
(Tobias Knerr)
September 29, 2012, 12:42pm
32
I have played around with the latest version of your plugin and noticed that you are indeed able to combine multitexture rendering of windows with the building=window node mapping technique. That’s an interesting feature, but I wonder about one aspect of this approach. (To clarify: The approach based on wall segments tagged with the number and attributes of windows is not affected.)
Namely, I assume (and it looks like it based on the debug wireframe) that you need to create additional vertices within the building to achieve this, i.e. vertices on the building’s base that do not correspond to on a node in OpenStreetMap. Inserting additional vertices like that is something I have generally tried to avoid. The reason is that two adjacent areas will not necessarily be rendered visually clean unless they precisely share vertices. If you insert an vertex into only one of them, creating a “t-junction”, this may cause gaps or other graphical glitches because of the limited precision of the rendering - particularly if you have large scenes where the floating point numbers become less dense. This might show up in cases where the building outline shares OSM nodes with an area of e.g. grass or asphalt directly connected to the building.
Do you have taken steps to avoid this or do you expect that it simply will not cause problems?
On an unrelated note, it appears that your code supports multipolygons with non-closed outer ways for the walls only if these ways are either all clockwise or all counterclockwise. Consistent winding is not normally required for multipolygon members in OSM, though. Is this a known limitation?
kendzi
(Tomasz Kędziora)
September 30, 2012, 7:07am
33
Thanks for testing my plugin
Tordanik:
Namely, I assume (and it looks like it based on the debug wireframe) that you need to create additional vertices within the building to achieve this, i.e. vertices on the building’s base that do not correspond to on a node in OpenStreetMap.
I don’t now if I understand the problem. I’m using nodes with window definition (tagged building=window). In my implementation windows are cut out from wall. The reason that you can see vertical lines like this:
It is that i don’t implemented any real 2d polygon union and intersection algorithm. I emulate this by simply cutting polygon by line. Cutting creates additional vertex which you can see by vertical line (first cut) and t-junction. But this can be easily fixed replacing my algorithm and using polygon union/ intersection function. Maybe you know some opens source (no gpl inside) library for 2d polygon union/intersection or algorithm description?
Currently this implementation don’t cause any visible problems so fixing this is not priority.
Multipolygons are work in progress so I fixed this.
I wonder if we can assume for buildings that:
end or begin of not closed way is always connected to only one way (no Y-junction)
inner never touch outer
inner never touch other inner
Moin
Just to note: current JOSM plugin had a link to openstreetmap.pl - which is no more reachable.
It moved to openstreetmap.org.pl
Just to note you
Amiga4000
kendzi
(Tomasz Kędziora)
November 4, 2012, 3:55pm
35
I had change links, so both plugin and preset should be available by JOSM plugin and preset manager.
_i
(!I!)
November 28, 2012, 8:23am
36
Hi Kendzi,
I try to get the latest version working using the JOSM plugin manager. But If I restart, I get
.
Using the ubuntu package manager, I installed already log4j and jogl2 of course, so what is missing?
Moin
Kendzi did change some parts and moved some functions out into several JOSM plugins. Go to JOSM settings for plugins and install those two plugins extra, restart JOSM and 3D does work again.
Amiga4000
viw
December 31, 2012, 9:36pm
38
At the moment I could not download Kendzi3d Plugin or the simple3D builsdings in Josm. Do I something wrong?
kendzi
(Tomasz Kędziora)
January 1, 2013, 10:53am
39
I just tested download and it works fine. Perhaps there was a problem with hosting. Can you check today?
viw
January 1, 2013, 12:25pm
40
I try agian wihtout any success.
It seems to be a problem to reach http://www.openstreetmap.org.pl
kendzi
(Tomasz Kędziora)
January 1, 2013, 8:12pm
41
I ask someone else for test and it is working. Do you use proxy, vpn or non standard dns server? Can you ping host www.openstreetmap.org.pl ? It should return ip 195.2.255.33.
If it is problem width dns server, you can try to setup as primary dns ip: 62.129.252.31 (from dns.home.pl)
viw
January 2, 2013, 3:25pm
42
I can send ping to www.openstreetmap.org.pl the IP is 195.2.255.33 too. But I get only timeout.
_i
(!I!)
January 3, 2013, 2:57pm
43
Hi again I tried to get Kendzi3D running, but on JOSM startup (NAG screen still open), a new Kendzi3D window appears but the whole editor startup is blocked (still NAG screen displaying "checking plugin requirements kendzi3d)
Tried to log something on console, but not very detailed IMHO:
matthias@aterferum:~$ java -jar /usr/share/java/josm-latest.jar
lade Plugin ‘kendzi3d-jogl’ (Version 7)
lade Plugin ‘log4j’ (Version 28968)
lade Plugin ‘openstreetbugs’ (Version 28807)
lade Plugin ‘buildings_tools’ (Version 28807)
lade Plugin ‘kendzi3d’ (Version 146)
copying file: /lib/jogl-2.0-b57-20120502/jogl-all-natives-linux-amd64.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/jogl-all-natives-linux-i586.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/jogl-all-natives-macosx-universal.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/jogl-all-natives-windows-amd64.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/jogl-all-natives-windows-i586.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/jogl.all.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/gluegen-rt-natives-linux-amd64.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/gluegen-rt-natives-linux-i586.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/gluegen-rt-natives-macosx-universal.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/gluegen-rt-natives-windows-amd64.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/gluegen-rt-natives-windows-i586.jar exist skiping
copying file: /lib/jogl-2.0-b57-20120502/gluegen-rt.jar exist skiping
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/jogl-all-natives-linux-amd64.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/jogl-all-natives-linux-i586.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/jogl-all-natives-macosx-universal.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/jogl-all-natives-windows-amd64.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/jogl-all-natives-windows-i586.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/jogl.all.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/gluegen-rt-natives-linux-amd64.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/gluegen-rt-natives-linux-i586.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/gluegen-rt-natives-macosx-universal.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/gluegen-rt-natives-windows-amd64.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/gluegen-rt-natives-windows-i586.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d-jogl/lib/jogl-2.0-b57-20120502/gluegen-rt.jar
copying file from jar: /resources/log4j.properties to: log4j.properties
end of copying bytes: 600 from file: /resources/log4j.properties at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/resources/log4j.properties
copying file from jar: /lib/vecmath.jar to: /lib/vecmath.jar
end of copying bytes: 318956 from file: /lib/vecmath.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/vecmath.jar
copying file from jar: /lib/swing-layout-1.0.jar to: /lib/swing-layout-1.0.jar
end of copying bytes: 140545 from file: /lib/swing-layout-1.0.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/swing-layout-1.0.jar
copying file from jar: /lib/ejml-0.20.jar to: /lib/ejml-0.20.jar
end of copying bytes: 301269 from file: /lib/ejml-0.20.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/ejml-0.20.jar
copying file from jar: /lib/guice-3.0.jar to: /lib/guice-3.0.jar
end of copying bytes: 710683 from file: /lib/guice-3.0.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/guice-3.0.jar
copying file from jar: /lib/javax.inject.jar to: /lib/javax.inject.jar
end of copying bytes: 2497 from file: /lib/javax.inject.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/javax.inject.jar
copying file from jar: /lib/aopalliance.jar to: /lib/aopalliance.jar
end of copying bytes: 4467 from file: /lib/aopalliance.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/aopalliance.jar
copying file from jar: /lib/poly2tri-core-0.1.1-SNAPSHOT.jar to: /lib/poly2tri-core-0.1.1-SNAPSHOT.jar
end of copying bytes: 61858 from file: /lib/poly2tri-core-0.1.1-SNAPSHOT.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/poly2tri-core-0.1.1-SNAPSHOT.jar
copying file from jar: /lib/slf4j-api-1.5.10.jar to: /lib/slf4j-api-1.5.10.jar
end of copying bytes: 23659 from file: /lib/slf4j-api-1.5.10.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/slf4j-api-1.5.10.jar
copying file from jar: /lib/slf4j-jdk14-1.5.10.jar to: /lib/slf4j-jdk14-1.5.10.jar
end of copying bytes: 8830 from file: /lib/slf4j-jdk14-1.5.10.jar at url: jar:file:/home/matthias/.josm/plugins/kendzi3d.jar!/lib/slf4j-jdk14-1.5.10.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/vecmath.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/swing-layout-1.0.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/ejml-0.20.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/guice-3.0.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/javax.inject.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/aopalliance.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/poly2tri-core-0.1.1-SNAPSHOT.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/slf4j-api-1.5.10.jar
loading lib: /home/matthias/.josm/plugins/kendzi3d/lib/slf4j-jdk14-1.5.10.jar
3d test
reciveFileUrl: /home/matthias/.josm/plugins/kendzi3d/models/pointModelLayerInternal.xml
log4j:WARN No appenders could be found for logger (kendzi.josm.kendzi3d.service.impl.PointModelService).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
reciveFileUrl: /home/matthias/.josm/plugins/kendzi3d/models/pointModelLayer.xml
reciveFileUrl: /home/matthias/.josm/plugins/kendzi3d/resources/metadata.properties
reciveFileUrl: /home/matthias/.josm/plugins/kendzi3d/textures/wikimetadata.properties
reciveFileUrl: /home/matthias/.josm/plugins/kendzi3d/resources/textureLibraryInternal.xml
reciveFileUrl: /home/matthias/.josm/plugins/kendzi3d/resources/textureLibraryWiki.xml
load text libr: 72
tst2
Werkzeugleistenaktion 1306318208_rebuild__24 überschrieben: kendzi.josm.kendzi3d.action.CleanUpAction wird kendzi.josm.kendzi3d.action.PointModelListAction
Werkzeugleistenaktion 1306318261_debugger__24 überschrieben: kendzi.josm.kendzi3d.action.GroundToggleAction wird kendzi.josm.kendzi3d.action.DebugToggleAction
Werkzeugleistenaktion 1306318261_debugger__24 überschrieben: kendzi.josm.kendzi3d.action.DebugToggleAction wird kendzi.josm.kendzi3d.action.TextureFilterToggleAction
Werkzeugleistenaktion 1323558253_wikipedia-icon_24 überschrieben: kendzi.josm.kendzi3d.action.WikiTextureLoaderAction wird kendzi.josm.kendzi3d.action.LoadTextureLibraryAction
Werkzeugleistenaktion ohne Namen: kendzi.josm.kendzi3d.action.ExportAction
Werkzeugleistenaktion 1323558253_wikipedia-icon_24 überschrieben: kendzi.josm.kendzi3d.action.LoadTextureLibraryAction wird kendzi.josm.kendzi3d.action.ShowPluginDirAction
Any ideas?
kendzi
(Tomasz Kędziora)
January 3, 2013, 7:38pm
44
Please repack file
/home/matthias/.josm/plugins/kendzi3d.jar
Inside this archive copy file /resources/log4j.properties to location /log4j.properties
Run JOSM in console as before and send logs.
Is anything displayed inside Kendzi3D window?
viw
January 6, 2013, 5:39pm
45
kendzi:
I ask someone else for test and it is working. Do you use proxy, vpn or non standard dns server? Can you ping host www.openstreetmap.org.pl ? It should return ip 195.2.255.33.
If it is problem width dns server, you can try to setup as primary dns ip: 62.129.252.31 (from dns.home.pl)
Back at home I could download the plugin without any problems. Maybe you can host the Kendzi3D where the other 2 plugins are hosted.
kendzi
(Tomasz Kędziora)
January 6, 2013, 10:02pm
46
Plugin was moved to different hosting yesterday, so it should work. I will move preset tomorrow.