pov-viewshed on GitHub
GitHub week for me: https://github.com/smathermather/pov-viewshed More to come, but in the meantime, enjoy. Continue reading pov-viewshed on GitHub
GitHub week for me: https://github.com/smathermather/pov-viewshed More to come, but in the meantime, enjoy. Continue reading pov-viewshed on GitHub
I completed this project a long time ago and have not blogged on it in over a year. None-the-less, I realized that I hadn’t posted any final images for the viewshed analysis with Povray. So here is the summer viewshed analysis. This is rendered with about (I think) 150,000 trees, each with 100,000+ leaves. The cell tower here is in red. The landscape colored in … Continue reading Viewshed Analyses in Povray– Final Image
Ok, your average terrain-only based viewshed (view is from a road to the southeast, viewshed is in cyan): Note that based on these estimates, we should be able to see most of the valley walls from this little slice of road. I don’t buy that. That section of road is pretty closed in with trees. Let’s add them: As you may see, just a little … Continue reading Povray Viewshed with Trees (finally) (cont.)
Povray Viewshed with Trees: if we cannot yet have veracity, at least may we have verisimilitude. Continue reading Povray Viewshed with Trees (finally)
Just a short teaser post until I remember to bring the code home with me, but I’ve placed trees within the bounds of a canopy layer determined from some county LiDAR dataset. The tree locations, heights, and rotation are set using pseudo-random numbers, which looks a lot better than a monoculture of the same tree. Eventually, estimating stem locations and canopy heights to do this … Continue reading Povray Landscape with Trees
In some of my first posts, I discussed the possibility of using povray for viewshed analyses, since it is a more flexible tool, and can better handle complex analyses, like terrain + vegetation, something which most GIS tools cannot. In the end though, I just produced a simple terrain based viewshed analysis. Now, I’m getting ready to go deeper. Now, I’m ready to put some … Continue reading POV-Ray for viewsheds (with trees?)
global_settings { max_trace_level 1 } #include “shapes.inc” #include “colors.inc” #include “textures.inc” height_field { png “c:\temp\povray\n2225625.png” // 16-bit integer digital elevation water_level 0.0 texture { pigment { image_map { png “C:\temp\povray\n2225625_drape.png” map_type 0 interpolate 2 once } // Aerial rotate x*90 } } scale <5000, 65536, 5000> // Scale to real world size translate <2224868,0,625008> // Translate to location in Ohio state plane } /// Orthographic … Continue reading POV-Ray for viewsheds code
Ok, here’s the basic idea– we have an orthographic scene with a height_field object scaled to real world units. The observers in the viewshed become points of light, thus for each observer, we “light” the areas visible from each observer, render, and boom, viewshed created. In addition, if we have three or fewer view points, we can render them in, say cyan, yellow, and magenta, … Continue reading Follow on to POV-Ray for GIS Analyses–metametacode, no code yet, sorry!
Well, I tried something that so far has been a real success. I did a viewshed analysis in POV-Ray. Nothing significant in that analysis– it’s just a topography based analysis, just like one might do in GRASS or ArcGIS. But what is interesting, is now I can add buildings (also not hard in a GIS) and trees (which can be quite hard to add). Suddenly … Continue reading POV-Ray for GIS Analyses