Comments (18)
Thanks, fixed it in latest update. Please give it a try to confirm it's correct now
from blendergis.
The black hole is slightly smaller, but it is still present with the latest version:
from blendergis.
That strange the camera is placed 10 meters above the highest point of the mesh...
Maybee the subdivision level for the render is higher than the one for the 3view and there is no enough points around the pic to correctly estimate the maximum elevation of the rendering mesh.
I'will try to find a cleanest way to set the camera offset (I want avoid just setting an arbitrary value).
from blendergis.
I think it just a blender basic tip. Under Camera > Lens, Set clipping start = 0
from blendergis.
The clipping start is already 0 (or 0.001 to be exactly - if I try to change it to 0, Blender will change it back to 0.001):
from blendergis.
The clipping end value is 951.700 in Blender, but in my GeoTIFF it is 961.400 (retrieved with gdalinfo).
from blendergis.
Could you give us the blend or part of the blend ?
from blendergis.
This zip contains the GeoTIFF, the blend-file and the rendered image with the small black hole (left/middle):
https://dl.dropboxusercontent.com/u/2306934/MasterMaps/tile_13_09.zip
The black hole is "Himmeltindan" (964 m) in Lofoten archipelago: http://www.68north.com/outdoors/hiking-himmeltindan/
from blendergis.
Camera is very close to terrain in this part.
Modifiers : subdivision surface is set to 11, if you apply modifier or set to 9 black artefact disappear.
Place camera a little bit higher do the trick
from blendergis.
Seems to be the same issue as here: https://wanderingcartographer.wordpress.com/2014/11/14/shaded-relief-with-blendergis-part-2/
from blendergis.
So the problem come well from subdivision. Actually the script compute the mesh bounding box and place the camera 10 meters higher, but if the view subdivision is lower than render subdivision then in some case the computing bounding box will not reflect the final bounding box because view subdivision don't provides enough points to get a displacement in "full resolution"
In your blend file, higher point of the mesh is under the camera
But if I set view subdivision to 11 then the mesh is above the camera
from blendergis.
What about adding a camera height of 100 m rather than 10?
from blendergis.
yes but it's not a clean and general way to solve the problem, the difference between view bounding box and render bounding box can be of any value, most of the time it will be few meters or decade of meters but potentially it can be lot of more.
However, I'm afraid that it's not possible to estimate the resulting bounding box without increase the view subdivision value (witch can involve lot of ram). So, I think I will add an option to edit the offset when the user create the camera. Also, expressed this value as percentage of z dimensions will be probably better than raw meters.
from blendergis.
Sounds like a good plan :-)
from blendergis.
fixed 9bfbcb8
from blendergis.
Hi @domlysz, thanks for the fix - did you add an offset value and where can I edit it?
from blendergis.
You're right, I forgot to add a property for editing the value
Thanks
from blendergis.
Finally fixed this one !
49130af
from blendergis.
Related Issues (20)
- Crashing with 4.02 with python errors when using control E over a new location. HOT 8
- STRM data not saved HOT 2
- [MAC] BlenderGIS 2.2.8 and Blender 4.02 not loading any of the maps HOT 5
- Geometry export fails on Blender 4.0.2 ( 'ValueError: 1-2 args execution context is supported') HOT 6
- ValueError: 1-2 args execution context is supported HOT 3
- Non-integer randomheight value will result in crash HOT 1
- Export Shape Objects to feature not working
- Error when try to extract map HOT 4
- Error prompt when pressing the E key HOT 7
- SRTM loaded but not displaying elevations.
- export failing HOT 5
- MacOS - no basemap HOT 3
- When I deselect the plugin on Blender's plugin page and try to enable it again, I get the following error, does anyone know how to fix it?
- Blender 4.0 and 4.1.1 After loading basemap cant access any menu option HOT 1
- I am unable to load any map model in blender HOT 2
- Load the geopackage data already downloaded HOT 1
- Large area mesh tilling HOT 3
- Crash with large asc file
- Basemap not loading HOT 5
- Basemap Not Working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blendergis.