minorua / Qgis2threejs

3D map visualization and web export plugin for QGIS
http://minorua.github.io/Qgis2threejs/docs/
501 stars 92 forks source link

Allow higher resolution Simple Resampling #80

Open fnorf opened 8 years ago

fnorf commented 8 years ago

At the moment the resolution of Resampling for the Simple mode is limited to around 600 units (faces/vertices I believe). In some cases this might not be enough to render the DEM in sufficient detail. It would be great if there was no hard limit. I understand that it would be dangerous for users who blindly believe that bigger = better.

Right now I would want to export in higher resolution and then use automatic retopo tool like https://github.com/wjakob/instant-meshes to reduce the complexity in a "smart" way. I could not figure out how to change the limit in the code though.

DigDigDig commented 7 years ago

@fnorf, I agree.

I'm working on a project now that requires a large area to be rendered in low resolution, with an additional, high-resolution, DEM to be layered over a small section of the model. The detail can get to a sufficient resolution mesh, but the way that the script resamples my textural data is a problem. The issue is that by showing a wide extent I am limited to a low-resolution texture on my detail area.

Having the ability to manually increase the mesh and textural resolutions beyond what is currently allowed would be wonderful. Is there any way I could get around these limits by manually exporting with Python?

minorua commented 6 years ago

Try the "Surroundings" option. You can divide whole model into blocks. http://qgis2threejs.readthedocs.io/en/docs-release/ExportSettings.html#resampling