Qgis2threejs icon indicating copy to clipboard operation
Qgis2threejs copied to clipboard

Very high in 3D display!

Open luanluan-l opened this issue 5 years ago • 4 comments

WechatIMG6

luanluan-l avatar Jan 13 '20 06:01 luanluan-l

Which CRS is used for the project? It should be a projected coordinate system, not a geographic coordinate system.

minorua avatar Jan 13 '20 07:01 minorua

该项目使用哪个CRS?它应该是投影坐标系,而不是地理坐标系。

oh!Thank you!!!!But why is the height very low? Do you have any settings to adjust the height?

luanluan-l avatar Jan 14 '20 10:01 luanluan-l

What is the altitude of the patch? Part of your problem is that the QGIS canvas contains blank area outside your patch of interest, and this is treated as 0 elevation, I think. So the first step is to zoom your canvas until your region of interest completely fills the canvas with no filler around the edges. You can always change the window shape to match aspect ratio if that's an issue. Once you've done this, you can set the vertical shift in the scene settings dialog of the exporter. You want to set this to the negative of the lowest elevation on the border of the region of interest. Together these will eliminate the "pillar" effect. If you only set the vertical shift but still have filler around the region of interest you will still have this problem.

Llaves avatar Feb 17 '20 23:02 Llaves

If you have a geographic coordinate system you have much different unit values on the horizontal axes vs the vertical axis. Imagine an area between 7.5° and 7.7° degrees, that's just 0.2° degrees wide. The DEM might have values of 1000 or 1500 meters. So a step in the 3D model would have like 0.0001 degrees horizontally but like 1000 meters vertically. This is what causes this effect.

The solution is to switch the project/canvas to a projected system that uses the same unit for the horizontal and vertical axes.

I think this can be closed as it is not a bug.

kannes avatar Sep 28 '21 16:09 kannes