Talk:JOSM/Plugins/Kendzi3D

From OpenStreetMap Wiki
Jump to navigation Jump to search

Alt-A

Love this plugin, shows some real potential! Though you should seriously reconsider having Alt-A to bring up 3D-menu. (If you can? Maybe its a JOSM behaviour? Then rename menu.) Since this is default for adding tag to object and I think it is heavily used. Keep up the awesome work. /TheOddOne2 23:10, 19 February 2012 (UTC)

In next version 3d menu well be bring by Alt-D --Kendzi 20:40, 8 March 2012 (UTC)

WMS instead of 3D Rendering

I love this plugin. But something I would like (that might make it easier for you in the long run) is to be able to turn of rendering of 2D geometry (road,lakes and so on) and be able to use a WMS-layer as ground-texture? This should I belive be more resource-efficent, and you would not need to to care about those 2D features but instead focus on 3D-features? (I belive I can turn of rendering of roads and so forth by downloading the wiki-template and change it? But I have not succeded in this yet.) :) --Thod 11:16, 12 August 2012 (BST)

Thanks. I will try to add wms support in future but it don't come soon. --Kendzi 21:12, 28 August 2012 (BST)

Building and roof levels?

How does Kendzi count building levels? The tag definition states that building:levels does not include levels within the roof (which instead are counted in roof:levels), but setting building:levels=1 and setting a roof:shape tag on a building gives me a roof right down on the ground in the renderer. roof:levels seems to be ignored altogether. Am I missing something here? --Silanea (talk) 19:53, 10 February 2013 (UTC)

ups. I forgot about this tag. It will by added soon. This tag will be influence on roof height and displayed windows. --Kendzi (talk) 18:30, 11 February 2013 (UTC)
"setting a roof:shape tag on a building gives me a roof right down on the ground" < can you give example? --Kendzi (talk) 18:30, 11 February 2013 (UTC)
fixed in 165
Wow, thanks for the quick reply! For an example see 48.1719006, 11.4079802, building no. 12 in Asmarstraße. The south-western half of the building has building:levels=1 and a skillion roof (which is about 1/2 levels high, but I have not tagged that aspect yet). 165 only kinda fixes it: If no roof:levels is set the issue remains as described. Setting roof:levels to any value (including 0, for some reason) gives me a proper ground level plus a roof, as it should be.
Can you put click-able link? For roof:level > 0 I calculate height by multiply it with default level height. For roof:level <= 0 I assumed roof height equal to 1m. If tag is not setup roof consume height from building.
Here, it's house no. 12, which consists of two parts. --Silanea (talk) 22:01, 12 February 2013 (UTC)
By default I assume roof angle 20 degrees for skillion roof. So this building has small height and it is deep this caused problems with roof going under ground level. I will add some validation for roof height to be always smaller then height of building. Nevertheless to render properly this roof you need to add one of following tags: roof:height, roof:angle, roof:levels and maybe height. --Kendzi (talk) 05:15, 17 February 2013 (UTC)
Curiously, setting roof:levels >= 0 and < 0.5 gives me a roof about 1/2 level high, values =>0.5 and <1.5 give me one full-level height roof etc. Is that intended behaviour? --Silanea (talk) 12:49, 12 February 2013 (UTC)
I always assumed that level is integer. Is level number “0.5“ correct? Can you make post on 3d forum?
I was just playing around with the values. :-) Integer makes sense because in reality there either is a floor or there is not, but you cannot have half a level. I am currently looking for a way to tag rough building heights in cases where I cannot measure exactly. In the test case above the northern half of the building has two levels plus the roof, the southern half has one level plus a roof that is roughly 1/2 level high. Setting roof:levels to <0.5 gives me a rendering that looks almost like the real thing, but it is not a good way to tag. --Silanea (talk) 22:01, 12 February 2013 (UTC)
Roof-half-level.png
Here's an example where the roof height is IMO "0.5" levels. Alv (talk) 23:06, 16 February 2013 (UTC)
I will add double for levels --Kendzi (talk) 05:15, 17 February 2013 (UTC)

Rendering of glass

Hi Kendzi,

I just realized, that your 3D plugin doesn't render buildings, if you set the building material to glass and add any color to it. If you don't add color, it appears with a pink texture. Is there a way to fix this? --AndreR (talk) 17:29, 20 May 2013 (UTC)

  • it is easy to change, if you have nice glass texture --Kendzi (talk) 17:37, 20 May 2013 (UTC)
    • Which size do you need? And can your engine handle transparency? --AndreR (talk) 18:00, 23 May 2013 (UTC)
      • I see, you already fixed that issue. Thanks! --AndreR (talk) 18:33, 23 May 2013 (UTC)
      • I „borrowed” texture from O2W. But you can easily create some other textures or models. You can find directory with textures here. Configuration file for textures is here. Currently I don't support transparency for building wall or roof textures. Best size are 128x128 or 256x256 --Kendzi (talk) 19:32, 23 May 2013 (UTC)

Lanes

Hi Kendzi, are you planning on rendering the real lane configuration of streets in the future? I think, that would be super awesome. The new lanes style sheet for JOSM is an impressive example, but seeing it in 3D would be even better. --AndreR (talk) 18:35, 25 May 2013 (UTC)

  • Yes it would be awesome. Unfortunately I don't plan to do it soon. But in future who knows. --Kendzi (talk) 04:03, 26 May 2013 (UTC)

Rivers with islands

Hi Kendzi, is it a but, or just a matter of wrong tagging, that an island inside a riverbank object is ignored by Kendzi3D? Here's the link: http://www.openstreetmap.org/?lat=49.137254&lon=10.068868&zoom=18&layers=M --AndreR (talk) 21:15, 29 May 2013 (UTC)

  • using multipolygons wasn't supported before. I add them in v187 --Kendzi (talk) 07:08, 1 June 2013 (UTC)
    • Cool. Thank you! --AndreR (talk) 16:52, 17 June 2013 (UTC)

Copper texture

Hi Kendzi, I made this copper roof texture for you. I hope, you can use it. It's not scaled down right now, just in case if you want to fix something. You can get the original Gimp xfc, if you ant it. --AndreR (talk) 18:08, 17 June 2013 (UTC)

Copper roof texture.png
I re-sized image to 256x256 and appled high pass filter. Commit is here. What size is of this texture in meters? You can add this file to texture library too. --Kendzi (talk) 20:19, 17 June 2013 (UTC)
That's hard to tell. Here is the original photography I used. I also added the texture. Could you please add a texture for stone roofs as well? --AndreR (talk)
I assumed size 1.5m x 1.5m. I can add stones if you find or prepare texture :) --Kendzi (talk) 20:19, 17 June 2013 (UTC)

menu entry not shown

Hi, I am new to josm in general. Just wanted to try the plugin, I installed the plugins kendzi3, kendzi3-jogl and log4j and restarted, but no 3D-menu entry is shown. Could someone pls help to troubleshoot it?? Groovehunter (talk) 23:26, 3 September 2013 (UTC)

please look here: In case of trouble --Kendzi (talk) 16:57, 4 September 2013 (UTC)
thx for the quick answer, I created an issue https://github.com/kendzi/kendzi3d/issues/27
Hey Kendzi, I still have this error for months now. Reinstalling the plugin doesn't help. I usually use the latest version of JOSM. For some reason it works in the tested release. --AndreR (talk) 21:23, 25 October 2013 (UTC)
What OS, java, error message, output from console? Please add new ticket or add that information to exist one --Kendzi (talk) 00:56, 26 October 2013 (UTC)
I run the webstart app, therefore I know no way to get the debug info. If I test it with the physical jar file, it works. I use Windows 8.1 x64 by the way. Here's the ticket: https://github.com/kendzi/kendzi3d/issues/38 --AndreR (talk) 13:25, 26 October 2013 (UTC)

How to disable the shadow on one side of a 3D object

Is it possible to disable the shadow which occurs on one side of a 3D object?
It bothers me a little when selecting a different color for each face of the object. --Władysław Komorek (talk) 19:27, 29 October 2013 (UTC)


Is this plugin still maintained?

Hi, is this plugin still maintained and developed? Because it seems like there is not much happening. --Jolesh (talk) 09:42, 25 August 2020 (UTC)